(svn r13378) -Fix (r13375): compilation without network support was broken

This commit is contained in:
smatz 2008-06-04 11:21:36 +00:00
parent f78ea7c6bf
commit ce692c16ee
1 changed files with 1 additions and 5 deletions

View File

@ -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 */