[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:
megamage
2009-06-17 18:42:05 -05:00
parent 6fd4113cda
commit 90e6a97d79
3 changed files with 14 additions and 13 deletions
@@ -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;
+12
View File
@@ -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
-13
View File
@@ -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;