We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252711e commit 1f99e93Copy full SHA for 1f99e93
win32/build/confutils.js
@@ -3319,7 +3319,11 @@ function toolset_setup_common_cflags()
3319
3320
var vc_ver = probe_binary(PATH_PROG('cl', null));
3321
ADD_FLAG("CFLAGS"," -fms-compatibility -fms-compatibility-version=" + vc_ver + " -fms-extensions");
3322
- }
+
3323
+ if (CLANGVERS >= 1900 && (TARGET_ARCH === 'x64' || TARGET_ARCH === 'arm64')) {
3324
+ AC_DEFINE('HAVE_PRESERVE_NONE', 1, 'Whether the compiler supports __attribute__((preserve_none))');
3325
+ }
3326
3327
3328
if (!CLANG_TOOLSET) {
3329
/* clang uses __builtin_*() instead */
0 commit comments