summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 8f886a9ca8d..0bf671803cb 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -5776,7 +5776,7 @@ public:
// @@ (othman) IMHO, it is the lesser of two evils to use the
// correct type for the platform rather than (forcibly) assume
// that all wide characters are 16 bits.
-#ifdef ACE_HAS_WCHAR
+#if defined (ACE_HAS_WCHAR) || defined (ACE_HAS_XPG4_MULTIBYTE_CHAR)
typedef wchar_t WChar;
#else
typedef ACE_UINT16 WChar;