diff options
author | truelight <truelight@openttd.org> | 2004-12-13 09:01:24 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-13 09:01:24 +0000 |
commit | 05c585d5934dfb19b6bf7159c746019ffcf94064 (patch) | |
tree | 9c58fdb7dda39adeac5768302cd817ff1dcdb45d /network.c | |
parent | 1fe087ac4594be1b18cc43838b15863ad38a3966 (diff) | |
download | openttd-05c585d5934dfb19b6bf7159c746019ffcf94064.tar.xz |
(svn r1042) -Fix: [Network] Hopefully enabled revision-check for windows (somehow
windows uses WITH_REV_HACK instead of WITH_REV :s)
Diffstat (limited to 'network.c')
-rw-r--r-- | network.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -785,10 +785,15 @@ bool NetworkClientConnectGame(const byte* host, unsigned short port) void NetworkInitGameInfo(void) { -#if defined(WITH_REV) - extern char _openttd_revision[]; +#ifdef WITH_REV_HACK + #define WITH_REV + const char _openttd_revision[] = WITH_REV_HACK; #else + #if defined(WITH_REV) + extern char _openttd_revision[]; + #else const char _openttd_revision[] = "norev000"; + #endif #endif NetworkClientInfo *ci; |