Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index c2f015148..ddbe360e4 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -298,9 +298,10 @@ extern "C" char _data_start__, _data_end__, _bss_start__, _bss_end__;
extern "C" void (*__CTOR_LIST__) (void);
extern "C" void (*__DTOR_LIST__) (void);
-#if !defined(_GLOBALS_H)
+#ifndef NO_GLOBALS_H
#include "globals.h"
-inline void clear_procimptoken ()
+
+extern inline void clear_procimptoken ()
{
if (hProcImpToken)
{
@@ -309,6 +310,5 @@ inline void clear_procimptoken ()
CloseHandle (old_procimp);
}
}
-#endif
-
+#endif /*NO_GLOBALS_H*/
#endif /* defined __cplusplus */