summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_stdio.h')
-rw-r--r--ACE/ace/OS_NS_stdio.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/ACE/ace/OS_NS_stdio.h b/ACE/ace/OS_NS_stdio.h
index 3a4e6bdf91c..3d592c526f7 100644
--- a/ACE/ace/OS_NS_stdio.h
+++ b/ACE/ace/OS_NS_stdio.h
@@ -27,12 +27,11 @@
#include "ace/os_include/os_errno.h"
#include /**/ "ace/ACE_export.h"
-/* OPENVMS needs unistd for cuserid() */
-#if defined (CYGWIN32) || defined (ACE_OPENVMS)
+#if defined (CYGWIN32)
# include "ace/os_include/os_unistd.h"
-#endif /* CYGWIN32 || ACE_OPENVMS */
+#endif /* CYGWIN32 */
-#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32)
# include "io.h"
#endif
@@ -135,10 +134,9 @@ inline char *ace_cuserid(char *user)
#endif /* !ACE_LACKS_CUSERID && !ACE_HAS_ALT_CUSERID && ... */
# if defined (ACE_LACKS_FILELOCKS)
-# if ! defined (ACE_VXWORKS) && ! defined (ACE_HAS_RTEMS) && !defined (INTEGRITY)
+# if ! defined (ACE_VXWORKS) && !defined (INTEGRITY)
// VxWorks defines struct flock in sys/fcntlcom.h. But it doesn't
-// appear to support flock (). RTEMS defines struct flock but
-// currently does not support locking.
+// appear to support flock ().
struct flock
{
short l_type;
@@ -299,7 +297,7 @@ namespace ACE_OS {
ACE_NAMESPACE_INLINE_FUNCTION
ACE_HANDLE fileno (FILE *stream);
-#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32)
extern ACE_Export
#else
ACE_NAMESPACE_INLINE_FUNCTION
@@ -307,19 +305,19 @@ namespace ACE_OS {
FILE *fopen (const char *filename, const char *mode);
#if defined (ACE_HAS_WCHAR)
-#if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+#if defined (ACE_WIN32)
extern ACE_Export
#else
ACE_NAMESPACE_INLINE_FUNCTION
#endif /* ACE_WIN32 */
FILE *fopen (const char *filename, const wchar_t *mode);
-# if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+# if defined (ACE_WIN32)
extern ACE_Export
# else
ACE_NAMESPACE_INLINE_FUNCTION
# endif /* ACE_WIN32 */
FILE *fopen (const wchar_t *filename, const wchar_t *mode);
-# if defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)
+# if defined (ACE_WIN32)
extern ACE_Export
# else
ACE_NAMESPACE_INLINE_FUNCTION