diff options
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r-- | src/common/mmo.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h index f65da260b..d0606dd4e 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -5,33 +5,9 @@ #define _MMO_H_ #include <time.h> +#include "cbasetypes.h" #include "utils.h" // _WIN32 -#if ! defined(Assert) -#if defined(RELEASE) -#define Assert(EX) -#else -// extern "C" { -#include <assert.h> -// } -#ifndef DEFCPP -#if defined(_WIN32) && !defined(MINGW) -#include <crtdbg.h> -#endif -#endif -#define Assert(EX) assert(EX) -#endif -#endif /* ! defined(Assert) */ - -#ifdef CYGWIN -// txtやlogなどの書き出すファイルの改行コード -#define RETCODE "\r\n" // (CR/LF:Windows系) -#else -#define RETCODE "\n" // (LF:Unix系) -#endif - -#define RET RETCODE - #define FIFOSIZE_SERVERLINK 256*1024 // set to 0 to not check IP of player between each server. |