summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index 21f4be9..cada83c 100644
--- a/pthread.h
+++ b/pthread.h
@@ -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