diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-03 16:15:40 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-03 16:15:40 +0000 |
commit | 38cf4948277cc3283a47d662b77f5a599e0455a3 (patch) | |
tree | 8b7cf5831ce4a3d0630df1b207cb48865b2e3239 /src/common/core.c | |
parent | dca43e95e0a4a64e8c247eaaa52e341775768746 (diff) | |
download | hercules-38cf4948277cc3283a47d662b77f5a599e0455a3.tar.gz hercules-38cf4948277cc3283a47d662b77f5a599e0455a3.tar.bz2 hercules-38cf4948277cc3283a47d662b77f5a599e0455a3.tar.xz hercules-38cf4948277cc3283a47d662b77f5a599e0455a3.zip |
removed unix server revision caching -- now it will always display the actual working copy revision (before it required a 'make clean' to drop the cache in unix)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15356 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/core.c')
-rw-r--r-- | src/common/core.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/common/core.c b/src/common/core.c index 779401aa2..4504370cf 100644 --- a/src/common/core.c +++ b/src/common/core.c @@ -12,9 +12,6 @@ #include "../common/timer.h" #include "../common/plugins.h" #endif -#ifndef _WIN32 -#include "svnversion.h" -#endif #include <stdio.h> #include <stdlib.h> @@ -38,9 +35,7 @@ char **arg_v = NULL; char *SERVER_NAME = NULL; char SERVER_TYPE = ATHENA_SERVER_NONE; -#ifndef SVNVERSION - static char rA_svn_version[10] = ""; -#endif +static char rA_svn_version[10] = ""; #ifndef MINICORE // minimalist Core // Added by Gabuzomeu @@ -129,14 +124,6 @@ void signals_init (void) } #endif -#ifdef SVNVERSION - #define xstringify(x) stringify(x) - #define stringify(x) #x - const char *get_svn_revision(void) - { - return xstringify(SVNVERSION); - } -#else// not SVNVERSION const char* get_svn_revision(void) { FILE *fp; @@ -201,7 +188,6 @@ const char* get_svn_revision(void) return rA_svn_version; } -#endif /*====================================== * CORE : Display title |