Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(855)

Unified Diff: source/common/unicode/umachine.h

Issue 314660043: ticket:12766 Escaping source code (Closed) Base URL: svn+ssh://source.icu-project.org/repos/icu/trunk/icu4c/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: source/common/unicode/umachine.h
===================================================================
--- source/common/unicode/umachine.h (revision 39836)
+++ source/common/unicode/umachine.h (working copy)
@@ -291,10 +291,16 @@
#define U_SIZEOF_UCHAR 2
/**
- * for AIX, uchar.h needs to be included
+ * \def U_CHAR16_IS_TYPEDEF
+ * If 1, then char16_t is a typedef and not a real type (yet)
+ * @internal
*/
#if (U_PLATFORM == U_PF_AIX) && defined(__cplusplus) &&(U_CPLUSPLUS_VERSION < 11)
andy.heninger 2017/03/20 20:17:55 Remove the U_CPLUSPLUS_VERSION < 11
srl295 2017/03/20 20:30:34 as before, this is here as a future proof.
+// for AIX, uchar.h needs to be included
# include <uchar.h>
+# define U_CHAR16_IS_TYPEDEF 1
+#else
+# define U_CHAR16_IS_TYPEDEF 0
#endif

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b