From e9bf4f04937ca3bcdd921d59d6df3ce278307d68 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 10 Jan 2014 20:38:00 +0100 Subject: [PATCH] (360) Build changes --- deps/rzlib/ioapi.c | 6 ++++-- msvc/RetroArch-360/RetroArch-360.vcxproj | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deps/rzlib/ioapi.c b/deps/rzlib/ioapi.c index b550df3b8b..9dd881814f 100644 --- a/deps/rzlib/ioapi.c +++ b/deps/rzlib/ioapi.c @@ -10,8 +10,10 @@ */ -#if (defined(_WIN32)) - #define _CRT_SECURE_NO_WARNINGS +#ifdef _WIN32 +#ifndef _CRT_SECURE_NO_WARNINGS +#define _CRT_SECURE_NO_WARNINGS +#endif #endif #include "ioapi.h" diff --git a/msvc/RetroArch-360/RetroArch-360.vcxproj b/msvc/RetroArch-360/RetroArch-360.vcxproj index 722fcb9c44..9b2a2d4cb2 100644 --- a/msvc/RetroArch-360/RetroArch-360.vcxproj +++ b/msvc/RetroArch-360/RetroArch-360.vcxproj @@ -317,6 +317,7 @@ false MultiThreaded NDEBUG;_XBOX;LTCG;%(PreprocessorDefinitions);HAVE_XINPUT2;_CRT_SECURE_NO_WARNINGS;RARCH_CONSOLE;HAVE_RMENU_XUI;HAVE_MENU;HAVE_NETPLAY;HAVE_SOCKET_LEGACY;HAVE_ZLIB;HAVE_RARCH_EXEC;HAVE_LIBRETRO_MANAGEMENT;D3DCOMPILE_USEVOIDS;HAVE_GRIFFIN;HAVE_HLSL;HAVE_VID_CONTEXT;HAVE_D3D9;RARCH_INTERNAL;_XBOX360;HAVE_FBO;HAVE_SCREENSHOTS;WANT_MINIZ;SINC_LOWER_QUALITY;HAVE_XAUDIO;WANT_RPNG + $(SolutionDir)\..\deps\rzlib;%(AdditionalIncludeDirectories) true @@ -777,4 +778,4 @@ - + \ No newline at end of file