strupr -> _strupr, strlwr -> _strlwr, deprecated fix.

This commit is contained in:
Arthur Ice
2014-04-17 17:09:43 -07:00
parent 9bc9068dcf
commit c970132129
7 changed files with 11 additions and 0 deletions
+1
View File
@@ -31,6 +31,7 @@
#include "zone.h" #include "zone.h"
#ifdef _WINDOWS #ifdef _WINDOWS
#define snprintf _snprintf #define snprintf _snprintf
#define strlwr _strlwr
#endif #endif
extern Zone* zone; extern Zone* zone;
+2
View File
@@ -39,6 +39,8 @@
#ifdef _WINDOWS #ifdef _WINDOWS
#define strcasecmp _stricmp #define strcasecmp _stricmp
#define strlwr _strlwr
#define strupr _strupr
#endif #endif
#include "../common/debug.h" #include "../common/debug.h"
+1
View File
@@ -25,6 +25,7 @@
#ifdef _WINDOWS #ifdef _WINDOWS
#include <process.h> #include <process.h>
#define strupr _strupr
#else #else
#include <pthread.h> #include <pthread.h>
#include "../common/unix.h" #include "../common/unix.h"
+1
View File
@@ -14,6 +14,7 @@
#ifdef _WINDOWS #ifdef _WINDOWS
#define snprintf _snprintf #define snprintf _snprintf
#define strlwr _strlwr
#endif #endif
//#define PATHDEBUG //#define PATHDEBUG
+4
View File
@@ -24,6 +24,10 @@
#include "worldserver.h" #include "worldserver.h"
extern WorldServer worldserver; extern WorldServer worldserver;
#ifdef _WINDOWS
#define strupr _strupr
#endif
// The maximum amount of a single bazaar/barter transaction expressed in copper. // The maximum amount of a single bazaar/barter transaction expressed in copper.
// Equivalent to 2 Million plat // Equivalent to 2 Million plat
#define MAX_TRANSACTION_VALUE 2000000000 #define MAX_TRANSACTION_VALUE 2000000000
+1
View File
@@ -27,6 +27,7 @@
#ifdef _WINDOWS #ifdef _WINDOWS
#define snprintf _snprintf #define snprintf _snprintf
#define strlwr _strlwr
#endif #endif
+1
View File
@@ -28,6 +28,7 @@
#include <process.h> #include <process.h>
#define snprintf _snprintf #define snprintf _snprintf
#define vsnprintf _vsnprintf #define vsnprintf _vsnprintf
#define strlwr _strlwr
#else #else
#include <pthread.h> #include <pthread.h>
#include "../common/unix.h" #include "../common/unix.h"