summaryrefslogtreecommitdiff
path: root/ace/os_include/os_unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/os_unistd.h')
-rw-r--r--ace/os_include/os_unistd.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/ace/os_include/os_unistd.h b/ace/os_include/os_unistd.h
index 7aa4cdf9846..29c9a39e405 100644
--- a/ace/os_include/os_unistd.h
+++ b/ace/os_include/os_unistd.h
@@ -27,14 +27,13 @@
#include "ace/os_include/sys/os_types.h"
#include "ace/os_include/os_inttypes.h"
-#if defined (__BORLANDC__)
-# include "ace/os_include/os_fcntl.h"
-#endif /* __BORLANDC */
-
-#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_HAS_PROCESS_H)
# include /**/ <process.h>
+#endif /* ACE_HAS_PROCESS_H */
+
+#if defined (ACE_HAS_IO_H)
# include /**/ <io.h>
-#endif /* ACE_WIN32 && !ACE_HAS_WINCE */
+#endif /* ACE_HAS_IO_H */
#if defined (ACE_HAS_SYS_SYSTEMINFO_H)
# include /**/ <sys/systeminfo.h>
@@ -164,12 +163,6 @@ extern "C"
#endif /* _LARGEFILE64_SOURCE */
#if defined (__BORLANDC__)
-# if (__BORLANDC__ <= 0x540)
-# define _getcwd getcwd
-# define _chdir chdir
-# undef _access
-# define _access access
-# endif
# define _isatty isatty
#endif /* __BORLANDC__ */