summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
commitacd557f9472c711fe92b9c158ec336abf688bf7b (patch)
tree2295d13589411ee88afe16f4997bea65b4ebba94 /src/main.h
parentc60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff)
downloadmana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz
mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2
mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz
mana-acd557f9472c711fe92b9c158ec336abf688bf7b.zip
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h
index 69222d4d..21785fff 100644
--- a/src/main.h
+++ b/src/main.h
@@ -61,14 +61,16 @@
#define PACKAGE_VERSION "0.0.29.1"
#endif
-#ifdef PACKAGE_VERSION
#ifdef MANASERV_SUPPORT
-#define FULL_VERSION "v" PACKAGE_VERSION " (manaserv)"
+#define SERVER_BUILD "manaserv"
#else
-#define FULL_VERSION "v" PACKAGE_VERSION " (eAthena)"
+#define SERVER_BUILD "eAthena"
#endif
+
+#ifdef PACKAGE_VERSION
+#define FULL_VERSION "v" PACKAGE_VERSION " (" SERVER_BUILD ")"
#else
-#define FULL_VERSION "Unknown Version"
+#define FULL_VERSION "Unknown Version (" SERVER_BUILD ")"
#endif
#ifndef PKG_DATADIR