summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'network.c')
-rw-r--r--network.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/network.c b/network.c
index 06ee8b9ac..4c1019339 100644
--- a/network.c
+++ b/network.c
@@ -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"