diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-07 23:59:26 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-07 23:59:26 +0000 |
commit | 59aae2ed7a29f22b90bec24962e83d7a420dc4d1 (patch) | |
tree | f284f1b22feed2b6b95e44c008ff4c4fad35232e /src/common/mmo.h | |
parent | 316de00df4e63468923c5678dcf7c12fc8e59523 (diff) | |
download | hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.gz hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.bz2 hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.tar.xz hercules-59aae2ed7a29f22b90bec24962e83d7a420dc4d1.zip |
- Fixed ladmin's linux compilation and moved some platform specific defines to cbasetypes.h
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9435 54d463be-8e91-2dee-dedb-b68131a5f0ec
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. |