浏览代码

define __STDC_UTF_{16,32}__ macros

these macros are used to indicate that the implementation uses,
respectively, utf-16 and utf-32 encoding for char16_t and char32_t.
Érico Nogueira 4 年之前
父节点
当前提交
9a40e842df
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/stdc-predef.h

+ 3 - 0
include/stdc-predef.h

@@ -7,4 +7,7 @@
 #define __STDC_IEC_559__ 1
 #endif
 
+#define __STDC_UTF_16__ 1
+#define __STDC_UTF_32__ 1
+
 #endif