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:
authorChristopher Faylor <me@cgf.cx>2001-11-28 03:06:35 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-28 03:06:35 +0300
commit4d029f3940b1f91b5ee06ccd724c90245c9d52cc (patch)
tree4fd6a178d45eaa67f07ed6e1905b6e192987a743 /winsup/cygwin/winsup.h
parenta6d66c13997c667dc5de8de8865371b9fc1d20ef (diff)
* cygwin.din (ualarm): New export.
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration. (dll_crt0): Ditto. * debug.cc (thread_stub): Ditto. * thread.cc: Minor cleanup. (__pthread_create): Add experimental tls storage declaration. * miscfuncs.cc: Define tls index. * winsup.h: Declare experimental tls storage. * window.cc (alarm): Use old timer return from setitimer. (ualarm): New function.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 5f463d0c4..85b7fbe0d 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -272,4 +272,11 @@ 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 */