* 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.
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user