diff options
Diffstat (limited to 'pthread.h')
-rw-r--r-- | pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -942,8 +942,12 @@ int pthreadCancelableTimedWait (HANDLE waitHandle, DWORD timeout); * Thread-Safe C Runtime Library Mappings. */ #if (! defined(NEED_ERRNO)) || (! defined( _REENTRANT ) && (! defined( _MT ) || ! defined( _MD ))) +#if defined(PTW32_BUILD) +__declspec( dllexport ) int * _errno( void ); +#else int * _errno( void ); #endif +#endif /* * WIN32 C runtime library had been made thread-safe |