File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,14 @@ elif windows:
563
563
# which can cause linker failures
564
564
env .Append ( CCFLAGS = ["/we4099" ] )
565
565
566
- env .Append ( CPPDEFINES = ["_CONSOLE" ,"_CRT_SECURE_NO_WARNINGS" ] )
566
+ env .Append ( CPPDEFINES = [
567
+ "_CONSOLE" ,
568
+ "_CRT_NONSTDC_NO_WARNINGS" ,
569
+ "_CRT_SECURE_NO_WARNINGS" ,
570
+ "_CRT_SECURE_NO_DEPRECATE" ,
571
+ "_SCL_SECURE_NO_WARNINGS" ,
572
+ "_SCL_SECURE_NO_DEPRECATE" ,
573
+ ] )
567
574
568
575
# this would be for pre-compiled headers, could play with it later
569
576
#env.Append( CCFLAGS=['/Yu"pch.h"'] )
Original file line number Diff line number Diff line change 16
16
// It is the responsibility of the mongo client consumer to ensure that any necessary windows
17
17
// headers have already been included before including the driver facade headers.
18
18
#if defined(_WIN32)
19
+ #define _CRT_SECURE_NO_WARNINGS
19
20
#include < winsock2.h>
20
21
#include < windows.h>
21
22
#endif
Original file line number Diff line number Diff line change 16
16
// It is the responsibility of the mongo client consumer to ensure that any necessary windows
17
17
// headers have already been included before including the driver facade headers.
18
18
#if defined(_WIN32)
19
+ #define _CRT_SECURE_NO_WARNINGS
19
20
#include < winsock2.h>
20
21
#include < windows.h>
21
22
#endif
You can’t perform that action at this time.
0 commit comments