mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[8036] Move unneded defines from dotconfpp.h to dotconfpp.cpp
This will prevent unexpected redefines and unrelated files build problems.
This commit is contained in:
parent
0b4c37f751
commit
3964a0d603
3 changed files with 13 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue