diff --git a/msvc_recommended_pragmas.h b/msvc_recommended_pragmas.h index cb9370cc6..f78f9a1ca 100644 --- a/msvc_recommended_pragmas.h +++ b/msvc_recommended_pragmas.h @@ -28,4 +28,5 @@ #pragma warning(disable:4305) /* No truncation from int to char warnings */ /* work around Microsoft's premature attempt to deprecate the C-Library */ -#pragma warning(disable:4996) /* This function or variable may be unsafe. */ +#define _CRT_SECURE_NO_WARNINGS +#define _CRT_NONSTDC_NO_WARNINGS