summaryrefslogtreecommitdiff
path: root/ACE/ace/os_include/os_errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/os_include/os_errno.h')
-rw-r--r--ACE/ace/os_include/os_errno.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ACE/ace/os_include/os_errno.h b/ACE/ace/os_include/os_errno.h
index d132d73882c..dac78b9bf8f 100644
--- a/ACE/ace/os_include/os_errno.h
+++ b/ACE/ace/os_include/os_errno.h
@@ -22,9 +22,7 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#if !defined (ACE_LACKS_ERRNO_H)
-# include /**/ <errno.h>
-#endif /* !ACE_LACKS_ERRNO_H */
+#include /**/ <errno.h>
#if defined (ACE_VXWORKS)
// Needed for VxWorks to pickup errnoSet()
@@ -285,7 +283,7 @@ extern "C"
void herror (const char *str);
#endif /* ACE_HAS_H_ERRNO */
-#if defined (ACE_LACKS_ERRNO_H) || defined (ACE_DEFINE_MISSING_ERRNOS)
+#if defined (ACE_DEFINE_MISSING_ERRNOS)
# if !defined (EPERM)
# define EPERM 1
# endif /* EPERM */