summaryrefslogtreecommitdiff
path: root/ACE/ace/ace_wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/ace_wchar.h')
-rw-r--r--ACE/ace/ace_wchar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ACE/ace/ace_wchar.h b/ACE/ace/ace_wchar.h
index 7afc673328b..37197c1c968 100644
--- a/ACE/ace/ace_wchar.h
+++ b/ACE/ace/ace_wchar.h
@@ -94,6 +94,11 @@ typedef char ACE_ANTI_TCHAR;
# define ACE_TEXT_CHAR_TO_TCHAR(STRING) ACE_Ascii_To_Wide (STRING).wchar_rep ()
# define ACE_TEXT_WCHAR_TO_TCHAR(STRING) STRING
# define ACE_TEXT_ANTI_TO_TCHAR(STRING) ACE_Ascii_To_Wide (STRING).wchar_rep ()
+# if !defined (ACE_WIN32)
+# define ACE_TEXT_PRIs ACE_TEXT("ls")
+# else
+# define ACE_TEXT_PRIs ACE_TEXT("s")
+# endif
#else /* ACE_USES_WCHAR */
typedef char ACE_TCHAR;
typedef wchar_t ACE_ANTI_TCHAR;
@@ -103,6 +108,7 @@ typedef wchar_t ACE_ANTI_TCHAR;
# define ACE_TEXT_CHAR_TO_TCHAR(STRING) STRING
# define ACE_TEXT_WCHAR_TO_TCHAR(STRING) ACE_Wide_To_Ascii (STRING).char_rep ()
# define ACE_TEXT_ANTI_TO_TCHAR(STRING) ACE_Wide_To_Ascii (STRING).char_rep ()
+# define ACE_TEXT_PRIs ACE_TEXT("s")
#endif /* ACE_USES_WCHAR */
// The OS_String module defines some wide-char functions that are not