summaryrefslogtreecommitdiff
path: root/ace/ace_wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/ace_wchar.h')
-rw-r--r--ace/ace_wchar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ace/ace_wchar.h b/ace/ace_wchar.h
index c17204b01ec..b73ed06f010 100644
--- a/ace/ace_wchar.h
+++ b/ace/ace_wchar.h
@@ -18,8 +18,11 @@
#endif /* ACE_LACKS_PRAGMA_ONCE */
#if !defined(ACE_SIZEOF_WCHAR) || !defined (ACE_WCHAR_MAX)
- #error Must (Un)define ACE_SIZEOF_WCHAR, ACE_WCHAR_MAX, \
- and ACE_LACKS_BUILTIN_WCHAR_T in the config-<platform>.h
+#error Must define ACE_SIZEOF_WCHAR, ACE_WCHAR_MAX, \
+and (maybe undefine) ACE_LACKS_BUILTIN_WCHAR_T in the config-<platform>.h. \
+Typedef wchar_t, wint_t, and/or wctype_t in the config-<platform>.h \
+or within the conditional #includes below if the platform does \
+not supply them.
#endif
// Add includes and/or typedefs to get wchar_t, wint_t, and wctype_t.
@@ -123,7 +126,7 @@ using std::size_t;
#define ACE_WCHAR_T_TYPE wchar_t
#define ACE_LACKS_NATIVR_WCHAR_T ACE_LACKS_BUILTIN_WCHAR_T
namespace ACE_OS { typedef wchar_t WChar; }
-#endif
+#endif /* ACE_LACKS_DEPRECATED_MACROS */
// This package should only be included in the implementation files
// that use it.