File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#ifndef _LIBCXX_IN_DEVCRT
16
16
// Silence warnings about CRT machinery.
17
- #define _CRT_SECURE_NO_WARNINGS
17
+ #define _CRT_SECURE_NO_WARNINGS 1
18
18
19
19
// Avoid assertion dialogs.
20
20
#define _CRT_SECURE_INVALID_PARAMETER (EXPR ) ::abort()
Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ def configure_compile_flags(self):
272
272
compile_flags_str = self .get_lit_conf ('compile_flags' , '' )
273
273
self .cxx .compile_flags += shlex .split (compile_flags_str )
274
274
if self .target_info .is_windows ():
275
- # FIXME: Can we remove this?
276
275
self .cxx .compile_flags += ['-D_CRT_SECURE_NO_WARNINGS' ]
277
276
# Don't warn about using common but nonstandard unprefixed functions
278
277
# like chdir, fileno.
You can’t perform that action at this time.
0 commit comments