diff options
author | darkvater <darkvater@openttd.org> | 2004-12-15 16:51:55 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-12-15 16:51:55 +0000 |
commit | f1b6b1711bc2ab0f0de7ca1015904cb0189a4016 (patch) | |
tree | 7aee161883267b842fdb10a45d7d9bb1895e5fea /network.c | |
parent | 29b844a408c3aaaf747f63b377bbfe15c597551f (diff) | |
download | openttd-f1b6b1711bc2ab0f0de7ca1015904cb0189a4016.tar.xz |
(svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
Diffstat (limited to 'network.c')
-rw-r--r-- | network.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,16 @@ #include "stdafx.h" #include "network_data.h" +#if defined(WITH_REV) + extern const char _openttd_revision[]; +#elif defined(WITH_REV_HACK) + #define WITH_REV + const char _openttd_revision[] = WITH_REV_HACK; +#else + const char _openttd_revision[] = NOREV_STRING; +#endif + + #ifdef ENABLE_NETWORK #include "table/strings.h" |