summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 85b7fbe0d..93eae3397 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -25,6 +25,13 @@ details. */
#define NO_COPY __attribute__((section(".data_cygwin_nocopy")))
+#ifdef EXPCGF
+#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
+#else
+#define DECLARE_TLS_STORAGE do {} while (0)
+#define _WINBASE2_H
+#endif
+
#ifdef __cplusplus
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ >= 199900L
@@ -272,11 +279,4 @@ extern HMODULE cygwin_hmodule;
#define winsock_active (wsadata.wVersion < 512)
extern struct WSAData wsadata;
-#ifdef EXPCGF
-#define DECLARE_TLS_STORAGE char **tls[4096] __attribute__ ((unused))
-#else
-#define DECLARE_TLS_STORAGE do {} while (0)
-#define _WINBASE2_H
-#endif
-
#endif /* defined __cplusplus */