summaryrefslogtreecommitdiff
path: root/errno.c
diff options
context:
space:
mode:
authorrpj <rpj>1999-11-04 14:56:51 +0000
committerrpj <rpj>1999-11-04 14:56:51 +0000
commitc614567b4940f31a7ce98ceb9eb48b1241b4727a (patch)
treeaaa362d4c46c13f7fb7546b1ee14264e32b22ec1 /errno.c
parentefa438832bc1343c08c334e88aec4266040ddec3 (diff)
Add WinCE patches to snap-1999-05-30-wince-patches branch.
Diffstat (limited to 'errno.c')
-rw-r--r--errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/errno.c b/errno.c
index c457dd7..77c747a 100644
--- a/errno.c
+++ b/errno.c
@@ -24,7 +24,7 @@
* MA 02111-1307, USA
*/
-#if ! defined( _REENTRANT ) && ! defined( _MT )
+#if (! defined(HAVE_ERRNO)) || (! defined( _REENTRANT ) && ! defined( _MT ))
#include "pthread.h"
#include "implement.h"
@@ -79,4 +79,4 @@ int * _errno( void )
} /* _errno */
-#endif /* !_REENTRANT && !_MT */
+#endif /* (! HAVE_ERRNO) || (!_REENTRANT && !_MT) */