summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-20 15:30:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-03-20 15:30:36 +0000
commitc8cecff94a8316a179971011c48f53840f9934b5 (patch)
tree43f4bd3fb7a15a83971416f65ad5c0a7515b37a7
parentd63de37262c5f98a0a5c2e459300e12dcf8d4414 (diff)
downloadATCD-c8cecff94a8316a179971011c48f53840f9934b5.tar.gz
with ACE_LACKS_WCHAR_T, changed wchar_t typedef from long to ACE_UINT32 to ensure that it is 4 bytes, regardless of platform
-rw-r--r--ace/OS.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 5eee9cc2d4e..b99b634b533 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -1441,7 +1441,7 @@ struct strrecvfd {};
#elif defined (ACE_HAS_XPG4_MULTIBYTE_CHAR)
# include /**/ <wchar.h>
#elif defined (ACE_LACKS_WCHAR_T)
-typedef long wchar_t;
+typedef ACE_UINT32 wchar_t;
#endif /* ACE_HAS_UNICODE */
#if defined (ACE_HAS_BROKEN_WRITEV)
@@ -4675,7 +4675,6 @@ public:
static int ace_isspace (const char s);
#if !defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR)
- // = These go here since they are needed for TAO.
static size_t strlen (const wchar_t *s);
static wchar_t *strcpy (wchar_t *s,
const wchar_t *t);