mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
strupr -> _strupr, strlwr -> _strlwr, deprecated fix.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
#define strlwr _strlwr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define PATHDEBUG
|
//#define PATHDEBUG
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
#define strlwr _strlwr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user