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:
563563 # which can cause linker failures
564564 env .Append ( CCFLAGS = ["/we4099" ] )
565565
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+ ] )
567574
568575 # this would be for pre-compiled headers, could play with it later
569576 #env.Append( CCFLAGS=['/Yu"pch.h"'] )
Original file line number Diff line number Diff line change 1616// It is the responsibility of the mongo client consumer to ensure that any necessary windows
1717// headers have already been included before including the driver facade headers.
1818#if defined(_WIN32)
19+ #define _CRT_SECURE_NO_WARNINGS
1920#include < winsock2.h>
2021#include < windows.h>
2122#endif
Original file line number Diff line number Diff line change 1616// It is the responsibility of the mongo client consumer to ensure that any necessary windows
1717// headers have already been included before including the driver facade headers.
1818#if defined(_WIN32)
19+ #define _CRT_SECURE_NO_WARNINGS
1920#include < winsock2.h>
2021#include < windows.h>
2122#endif
You can’t perform that action at this time.
0 commit comments