summaryrefslogtreecommitdiff
path: root/ace/OS_NS_stdio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS_NS_stdio.cpp')
-rw-r--r--ace/OS_NS_stdio.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/ace/OS_NS_stdio.cpp b/ace/OS_NS_stdio.cpp
index 46b30ef5fdb..475abea4487 100644
--- a/ace/OS_NS_stdio.cpp
+++ b/ace/OS_NS_stdio.cpp
@@ -159,7 +159,6 @@ ACE_OS::fopen (const char *filename,
return 0;
}
-#if defined (ACE_HAS_WCHAR)
FILE *
ACE_OS::fopen (const wchar_t *filename,
const ACE_TCHAR *mode)
@@ -206,7 +205,6 @@ ACE_OS::fopen (const wchar_t *filename,
}
return 0;
}
-#endif /* ACE_HAS_WCHAR */
#endif /* ACE_WIN32 */
@@ -222,7 +220,6 @@ ACE_OS::fprintf (FILE *fp, const char *format, ...)
return result;
}
-#if defined (ACE_HAS_WCHAR)
int
ACE_OS::fprintf (FILE *fp, const wchar_t *format, ...)
{
@@ -243,7 +240,6 @@ ACE_OS::fprintf (FILE *fp, const wchar_t *format, ...)
# endif /* ACE_HAS_VFWPRINTF */
}
-#endif /* ACE_HAS_WCHAR */
// The following *printf functions aren't inline because
@@ -302,8 +298,6 @@ ACE_OS::snprintf (char *buf, size_t maxlen, const char *format, ...)
#endif /* ACE_HAS_SNPRINTF */
}
-#if defined (ACE_HAS_WCHAR)
-
int
ACE_OS::snprintf (wchar_t *buf, size_t maxlen, const wchar_t *format, ...)
{
@@ -347,7 +341,6 @@ ACE_OS::snprintf (wchar_t *buf, size_t maxlen, const wchar_t *format, ...)
ACE_NOTSUP_RETURN (-1);
#endif /* ACE_HAS_SNPRINTF */
}
-#endif /* ACE_HAS_WCHAR */
int
ACE_OS::sprintf (char *buf, const char *format, ...)
@@ -362,7 +355,6 @@ ACE_OS::sprintf (char *buf, const char *format, ...)
return result;
}
-#if defined (ACE_HAS_WCHAR)
int
ACE_OS::sprintf (wchar_t *buf, const wchar_t *format, ...)
{
@@ -401,6 +393,6 @@ ACE_OS::sprintf (wchar_t *buf, const wchar_t *format, ...)
# endif /* XPG5 || ACE_HAS_DINKUM_STL */
}
-#endif /* ACE_HAS_WCHAR */
+
ACE_END_VERSIONED_NAMESPACE_DECL