diff --git a/zone/Map.cpp b/zone/Map.cpp index 95a6ba1a5..3e8240745 100644 --- a/zone/Map.cpp +++ b/zone/Map.cpp @@ -31,6 +31,7 @@ #include "zone.h" #ifdef _WINDOWS #define snprintf _snprintf +#define strlwr _strlwr #endif extern Zone* zone; diff --git a/zone/command.cpp b/zone/command.cpp index da4188f9a..254211453 100644 --- a/zone/command.cpp +++ b/zone/command.cpp @@ -39,6 +39,8 @@ #ifdef _WINDOWS #define strcasecmp _stricmp +#define strlwr _strlwr +#define strupr _strupr #endif #include "../common/debug.h" diff --git a/zone/entity.cpp b/zone/entity.cpp index ed5ee33f0..115e4c3e0 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -25,6 +25,7 @@ #ifdef _WINDOWS #include +#define strupr _strupr #else #include #include "../common/unix.h" diff --git a/zone/pathing.cpp b/zone/pathing.cpp index 404b3d898..e58e2f59b 100644 --- a/zone/pathing.cpp +++ b/zone/pathing.cpp @@ -14,6 +14,7 @@ #ifdef _WINDOWS #define snprintf _snprintf +#define strlwr _strlwr #endif //#define PATHDEBUG diff --git a/zone/trading.cpp b/zone/trading.cpp index bc1a248a9..0ce4ff9ee 100644 --- a/zone/trading.cpp +++ b/zone/trading.cpp @@ -24,6 +24,10 @@ #include "worldserver.h" extern WorldServer worldserver; +#ifdef _WINDOWS +#define strupr _strupr +#endif + // The maximum amount of a single bazaar/barter transaction expressed in copper. // Equivalent to 2 Million plat #define MAX_TRANSACTION_VALUE 2000000000 diff --git a/zone/watermap.cpp b/zone/watermap.cpp index 378433a90..385c887e1 100644 --- a/zone/watermap.cpp +++ b/zone/watermap.cpp @@ -27,6 +27,7 @@ #ifdef _WINDOWS #define snprintf _snprintf +#define strlwr _strlwr #endif diff --git a/zone/zone.cpp b/zone/zone.cpp index 487bda58f..3ae8d270f 100644 --- a/zone/zone.cpp +++ b/zone/zone.cpp @@ -28,6 +28,7 @@ #include #define snprintf _snprintf #define vsnprintf _vsnprintf +#define strlwr _strlwr #else #include #include "../common/unix.h"