From 56d00fd959caeb44a16a5fdaad71958f1510f3ff Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 14 Sep 2008 06:54:48 +0000 Subject: [PATCH] re-enable savestates in windows debug build --- desmume/src/types.h | 4 ++++ desmume/src/windows/DeSmuME_2005.vcproj | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/desmume/src/types.h b/desmume/src/types.h index b0560d2d0..291b116ad 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -20,6 +20,10 @@ #ifndef TYPES_HPP #define TYPES_HPP +#ifdef _WIN32 +#define strcasecmp(x,y) stricmp(x,y) +#endif + #ifdef _MSC_VER #define ALIGN(X) __declspec(align(X)) #elif __GNUC__ diff --git a/desmume/src/windows/DeSmuME_2005.vcproj b/desmume/src/windows/DeSmuME_2005.vcproj index d8966511a..a880647c8 100644 --- a/desmume/src/windows/DeSmuME_2005.vcproj +++ b/desmume/src/windows/DeSmuME_2005.vcproj @@ -54,7 +54,7 @@ EnableFiberSafeOptimizations="false" WholeProgramOptimization="false" AdditionalIncludeDirectories="..;.\zlib123;.\zziplib" - PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;VERSION=\"0.8.0b2 DEBUG\";WIN32;BETA_VERSION;SPU_INTERPOLATE" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;VERSION=\"0.8.0b2 DEBUG\";WIN32;BETA_VERSION;SPU_INTERPOLATE;HAVE_LIBZ" ExceptionHandling="0" BufferSecurityCheck="false" EnableEnhancedInstructionSet="0" @@ -73,7 +73,7 @@ />