summaryrefslogtreecommitdiff
path: root/ace/CDR_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/CDR_Base.h')
-rw-r--r--ace/CDR_Base.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/CDR_Base.h b/ace/CDR_Base.h
index eb0bedb5f15..10f88a7144e 100644
--- a/ace/CDR_Base.h
+++ b/ace/CDR_Base.h
@@ -167,10 +167,16 @@ public:
* avoid complaints from all compilers is to define them all.
*/
//@{
+
+# if !defined (ACE_CDR_WCHAR_OVERRIDE) || defined(ACE_USES_WCHAR)
+# undef ACE_CDR_WCHAR_OVERRIDE
+# define ACE_CDR_WCHAR_OVERRIDE wchar_t
+# endif
+
typedef bool Boolean;
typedef unsigned char Octet;
typedef char Char;
- typedef ACE_WCHAR_T WChar;
+ typedef ACE_CDR_WCHAR_OVERRIDE WChar;
typedef ACE_INT16 Short;
typedef ACE_UINT16 UShort;
typedef ACE_INT32 Long;