From a05a6ccad10ed2263d36dc7289dd232055778e0d Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sun, 24 Apr 2011 01:30:03 -0700 Subject: [PATCH] Silence some warnings --- Sources/Plasma/CoreLib/hsUtils.h | 1 + Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Sources/Plasma/CoreLib/hsUtils.h b/Sources/Plasma/CoreLib/hsUtils.h index ab46d9c5..339e7395 100644 --- a/Sources/Plasma/CoreLib/hsUtils.h +++ b/Sources/Plasma/CoreLib/hsUtils.h @@ -50,6 +50,7 @@ char * hsFormatStrV(const char * fmt, va_list args); // You are responsible f #define strnicmp _strnicmp #define wcsicmp _wcsicmp #define wcsnicmp _wcsnicmp +#define strlwr _strlwr #else #define stricmp strcasecmp #define strnicmp strncasecmp diff --git a/Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp b/Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp index 3f5c1e1e..efa6f60b 100644 --- a/Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp +++ b/Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp @@ -54,6 +54,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #if HS_BUILD_FOR_WIN32 #include #include +#define mkdir _mkdir +#define chdir _chdir +#define chmod _chmod +#define rmdir _rmdir +#define unlink _unlink #endif #if HS_BUILD_FOR_UNIX