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 | c0603e476872ce76838d81f46c2e75e6636d1e65 (patch) | |
tree | 9c58fdb7dda39adeac5768302cd817ff1dcdb45d /network_gui.c | |
parent | 523b37a3e9156d6ea2ca8f1bfdfdf9b95b4c4f1f (diff) | |
download | openttd-c0603e476872ce76838d81f46c2e75e6636d1e65.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_gui.c')
-rw-r--r-- | network_gui.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/network_gui.c b/network_gui.c index 774ba9a7a..db50a7964 100644 --- a/network_gui.c +++ b/network_gui.c @@ -47,8 +47,13 @@ enum { static NetworkGameList *_selected_item = NULL; static int8 _selected_company_item = -1; -#ifdef WITH_REV -extern char _openttd_revision[]; +#ifdef WITH_REV_HACK + #define WITH_REV + const char _openttd_revision[] = WITH_REV_HACK; +#else + #ifdef WITH_REV + extern char _openttd_revision[]; + #endif #endif // Truncates a string to max_width (via GetStringWidth) and adds 3 dots |