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