diff options
author | flaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-06-16 14:02:37 +0000 |
---|---|---|
committer | flaviojs <flaviojs@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-06-16 14:02:37 +0000 |
commit | 773149f384fdb7bce399fbd7b5e7379d029dc60b (patch) | |
tree | 1c833cb92f1dc1b4284a5d6b51a62550df220062 | |
parent | e054cbbdb28a9b555faafd689282140c01d55b3e (diff) | |
download | hercules-773149f384fdb7bce399fbd7b5e7379d029dc60b.tar.gz hercules-773149f384fdb7bce399fbd7b5e7379d029dc60b.tar.bz2 hercules-773149f384fdb7bce399fbd7b5e7379d029dc60b.tar.xz hercules-773149f384fdb7bce399fbd7b5e7379d029dc60b.zip |
Fixed char-converter not being able to compile due to both char.h being included. (caused by last commit)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14852 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/char/char.h | 2 | ||||
-rw-r--r-- | src/char_sql/char.h | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index dde0c152b..42bda730a 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -1,6 +1,7 @@ Date Added 2011/06/16 + * Fixed char-converter not being able to compile due to both char.h being included. (caused by last commit) [FlavioJS] * Merges from charmerge: - Added DBMap::exists. (r14090) - Added sv_parse_next, a stepped version of sv_parse (delim-separated parser). (r14100 r14104) diff --git a/src/char/char.h b/src/char/char.h index f865722ba..bb1a530f0 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -7,12 +7,14 @@ #include "../common/core.h" // CORE_ST_LAST #include "../common/mmo.h" +#ifndef TXT_SQL_CONVERT enum E_CHARSERVER_ST { CHARSERVER_ST_RUNNING = CORE_ST_LAST, CHARSERVER_ST_SHUTDOWN, CHARSERVER_ST_LAST }; +#endif #define MAX_MAP_SERVERS 30 diff --git a/src/char_sql/char.h b/src/char_sql/char.h index 73c2f9f72..c9ec54a16 100644 --- a/src/char_sql/char.h +++ b/src/char_sql/char.h @@ -6,12 +6,14 @@ #include "../common/core.h" // CORE_ST_LAST +#ifndef TXT_SQL_CONVERT enum E_CHARSERVER_ST { CHARSERVER_ST_RUNNING = CORE_ST_LAST, CHARSERVER_ST_SHUTDOWN, CHARSERVER_ST_LAST }; +#endif struct mmo_charstatus; |