diff --git a/win32/libpng/libpng.vcxproj b/win32/libpng/libpng.vcxproj index 963a3565..78e315cb 100644 --- a/win32/libpng/libpng.vcxproj +++ b/win32/libpng/libpng.vcxproj @@ -186,7 +186,7 @@ Create Level3 Disabled - WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) $(ProjectDir)src;$(ProjectDir)..\zlib\src;%(AdditionalIncludeDirectories) pngpriv.h Default @@ -216,7 +216,7 @@ COPY "$(ProjectDir)src\scripts\pnglibconf.h.prebuilt" "$(ProjectDir)src\pnglibco Create Level3 Disabled - _DEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;_DEBUG;_LIB;%(PreprocessorDefinitions) $(ProjectDir)src;$(ProjectDir)..\zlib\src;%(AdditionalIncludeDirectories) pngpriv.h Default @@ -249,7 +249,7 @@ COPY "$(ProjectDir)src\scripts\pnglibconf.h.prebuilt" "$(ProjectDir)src\pnglibco MaxSpeed false true - WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) $(ProjectDir)src;$(ProjectDir)..\zlib\src;%(AdditionalIncludeDirectories) pngpriv.h Default @@ -283,7 +283,7 @@ COPY "$(ProjectDir)src\scripts\pnglibconf.h.prebuilt" "$(ProjectDir)src\pnglibco MaxSpeed false true - NDEBUG;_LIB;%(PreprocessorDefinitions) + _CRT_SECURE_NO_WARNINGS;NDEBUG;_LIB;%(PreprocessorDefinitions) $(ProjectDir)src;$(ProjectDir)..\zlib\src;%(AdditionalIncludeDirectories) pngpriv.h Default diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index eccf672a..f20618f8 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -21,7 +21,9 @@ #define _WIN32_WINNT 0x0501 #endif +#pragma warning(disable: 4091) #include +#pragma warning(default: 4091) #include #include #include