Use wchar_t as native type in C

This commit is contained in:
Anatol Belski 2019-03-30 21:07:17 +01:00
parent 8346b4c9f1
commit 22091084fa

View file

@ -3294,6 +3294,8 @@ function toolset_setup_common_cflags()
if (VCVERS >= 1914) {
ADD_FLAG("CFLAGS", "/d2FuncCache1");
}
ADD_FLAG("CFLAGS", "/Zc:wchar_t");
} else if (CLANG_TOOLSET) {
if (X64) {
ADD_FLAG('CFLAGS', '-m64');