summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-06-04 11:21:36 +0000
committersmatz <smatz@openttd.org>2008-06-04 11:21:36 +0000
commitce692c16ee2bcacbb35867c79adc1f7fafb5cdfe (patch)
tree6a4484bb3ea00a47fa0d7fa06c740057574b1e5e /src/network
parentf78ea7c6bfecf75c4491e42f1a6596916d1e84ad (diff)
downloadopenttd-ce692c16ee2bcacbb35867c79adc1f7fafb5cdfe.tar.xz
(svn r13378) -Fix (r13375): compilation without network support was broken
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/config.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/network/core/config.h b/src/network/core/config.h
index 33e79a9a7..63ffb1c79 100644
--- a/src/network/core/config.h
+++ b/src/network/core/config.h
@@ -1,14 +1,12 @@
/* $Id$ */
/**
- * @file config.h Configuration options of the network stuff
+ * @file config.h Configuration options of the network stuff. It is used even when compiling without network support.
*/
#ifndef NETWORK_CORE_CONFIG_H
#define NETWORK_CORE_CONFIG_H
-#ifdef ENABLE_NETWORK
-
/** DNS hostname of the masterserver */
#define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
/** Message sent to the masterserver to 'identify' this client as OpenTTD */
@@ -54,6 +52,4 @@ enum {
NETWORK_NUM_LANDSCAPES = 4,
};
-#endif /* ENABLE_NETWORK */
-
#endif /* NETWORK_CORE_CONFIG_H */