[8036] Move unneded defines from dotconfpp.h to dotconfpp.cpp Author: VladimirMangos
This will prevent unexpected redefines and unrelated files build problems. --HG-- branch : trunk
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
-- ALTER TABLE db_version CHANGE COLUMN required_8021_01_mangos_spell_proc_event required_8030_03_mangos_npc_trainer bit;
|
||||
|
||||
DELETE FROM npc_trainer WHERE spell = 64904;
|
||||
|
||||
|
||||
@@ -3,6 +3,18 @@
|
||||
|
||||
#include "dotconfpp.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#define strcasecmp stricmp
|
||||
#define realpath(path,resolved_path) _fullpath(resolved_path, path, _MAX_PATH)
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#if !defined(R_OK)
|
||||
#define R_OK 04
|
||||
#endif
|
||||
|
||||
@@ -15,19 +15,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#define snprintf _snprintf
|
||||
#define strcasecmp stricmp
|
||||
#define realpath(path,resolved_path) _fullpath(resolved_path, path, _MAX_PATH)
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
#include "mempool.h"
|
||||
|
||||
class DOTCONFDocument;
|
||||
|
||||
Reference in New Issue
Block a user