mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 03:48:43 +00:00
(svn r13378) -Fix (r13375): compilation without network support was broken
This commit is contained in:
parent
f78ea7c6bf
commit
ce692c16ee
@ -1,14 +1,12 @@
|
|||||||
/* $Id$ */
|
/* $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
|
#ifndef NETWORK_CORE_CONFIG_H
|
||||||
#define NETWORK_CORE_CONFIG_H
|
#define NETWORK_CORE_CONFIG_H
|
||||||
|
|
||||||
#ifdef ENABLE_NETWORK
|
|
||||||
|
|
||||||
/** DNS hostname of the masterserver */
|
/** DNS hostname of the masterserver */
|
||||||
#define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
|
#define NETWORK_MASTER_SERVER_HOST "master.openttd.org"
|
||||||
/** Message sent to the masterserver to 'identify' this client as OpenTTD */
|
/** Message sent to the masterserver to 'identify' this client as OpenTTD */
|
||||||
@ -54,6 +52,4 @@ enum {
|
|||||||
NETWORK_NUM_LANDSCAPES = 4,
|
NETWORK_NUM_LANDSCAPES = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* ENABLE_NETWORK */
|
|
||||||
|
|
||||||
#endif /* NETWORK_CORE_CONFIG_H */
|
#endif /* NETWORK_CORE_CONFIG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user