* cygprops.h: Use #pragma once.

* mkglobals_h: Ditto for generated globals.h file.
* globals.cc: Use specific NO_GLOBALS_H flag to control inclusion of globals.h.
* winsup.h: Honor NO_GLOBALS_H to control inclusion of globals.h.  Make
clear_procimptoken extern inline so that it is only defined when needed.
This commit is contained in:
Christopher Faylor
2012-03-19 17:49:40 +00:00
parent 548dc6a14d
commit 374d215cca
5 changed files with 33 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
/* cygprops.h: Cygwin DLL properties
Copyright 2009 Red Hat, Inc.
Copyright 2009, 2012 Red Hat, Inc.
This file is part of Cygwin.
@@ -8,6 +8,7 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#pragma once
/* DLL properties data. */
struct cygwin_props_t
{