summaryrefslogtreecommitdiff
path: root/errno.c
diff options
context:
space:
mode:
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 77c747a..bd46cf5 100644
--- a/errno.c
+++ b/errno.c
@@ -24,7 +24,7 @@
* MA 02111-1307, USA
*/
-#if (! defined(HAVE_ERRNO)) || (! defined( _REENTRANT ) && ! defined( _MT ))
+#if (! defined(HAVE_ERRNO)) || (! defined( _REENTRANT ) && (! defined( _MT ) || ! defined( _MD )))
#include "pthread.h"
#include "implement.h"
@@ -79,4 +79,4 @@ int * _errno( void )
} /* _errno */
-#endif /* (! HAVE_ERRNO) || (!_REENTRANT && !_MT) */
+#endif /* (! HAVE_ERRNO) || (!_REENTRANT && (!_MT || !_MD)) */