From 38cf4948277cc3283a47d662b77f5a599e0455a3 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Tue, 3 Jan 2012 16:15:40 +0000 Subject: 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 --- src/common/core.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/common/core.c') 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 #include @@ -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 -- cgit v1.2.3-60-g2f50