diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -144,6 +144,11 @@ pthread_self (void) { pthread_t self; +#ifdef _UWIN + if(!ptw32_selfThreadKey) + return(NULL); +#endif + self = (pthread_t) pthread_getspecific (ptw32_selfThreadKey); if (self == NULL) |