summaryrefslogtreecommitdiff
path: root/ace/config-aix-4.x.h
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2004-09-13 17:00:52 +0000
committerSteve Huston <shuston@riverace.com>2004-09-13 17:00:52 +0000
commitcab50f27ad1a8c3eb4ac9d4f6afeaf305d5a3bd6 (patch)
treee04d9b780bebc5dd3af42ced58b0dffba3f5904f /ace/config-aix-4.x.h
parentdcb31eae60c7a2eae51a5fa70f5d472755e0058f (diff)
downloadATCD-cab50f27ad1a8c3eb4ac9d4f6afeaf305d5a3bd6.tar.gz
ChangeLogTag:Mon Sep 13 12:49:22 2004 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/config-aix-4.x.h')
-rw-r--r--ace/config-aix-4.x.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ace/config-aix-4.x.h b/ace/config-aix-4.x.h
index d5b2768852d..6358813be38 100644
--- a/ace/config-aix-4.x.h
+++ b/ace/config-aix-4.x.h
@@ -252,8 +252,15 @@
#define ACE_HAS_UTIME
-// Platform has XPG4 wide character type and functions
+// Platform has XPG4 wide character type and functions. However, the size
+// of wchar_t changes for 32- vs. 64-bit builds (unsigned short vs. unsigned
+// int, respectively).
#define ACE_HAS_XPG4_MULTIBYTE_CHAR
+#ifdef __64BIT__
+# define ACE_SIZEOF_WCHAR 4
+#else
+# define ACE_SIZEOF_WCHAR 2
+#endif /* __64BIT__ */
#define ACE_LACKS_NETINET_TCP_H