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 @@ />