com php-src: Use wchar_t as native type in C: w in32/build/confutils.js
| From: | Anatol Belski | Date: | Sat, 30 Mar 2019 20:08:03 +0000 |
| Subject: | com php-src: Use wchar_t as native type in C: w in32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105419@lists.php.net to get a copy of this message | ||
Commit: 22091084fa40bf62a6d9ff55eff9518dd1560a95
Author: Anatol Belski <ab@php.net> Sat, 30 Mar 2019 21:07:17 +0100
Parents: 8346b4c9f149c1a3d4e0631007e71bbbebd0b87d
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=22091084fa40bf62a6d9ff55eff9518dd1560a95
Log:
Use wchar_t as native type in C
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 4fe111a..ab97a0a 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils..js
@@ -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');