summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
committerDarkvater <darkvater@openttd.org>2005-10-02 22:39:56 +0000
commita3d40a29fc10e67c4a1b7cbd7fd519da030167af (patch)
tree5bcc6532a22928d167bf464a1c93f8aafbefa0f6 /map.c
parente8fac6c6cb2a19a15b57c9629b0f69de37acecd2 (diff)
downloadopenttd-a3d40a29fc10e67c4a1b7cbd7fd519da030167af.tar.xz
(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Fix warning in graph_gui.c with const problem
Diffstat (limited to 'map.c')
-rw-r--r--map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/map.c b/map.c
index 5d7ff2b80..f63204767 100644
--- a/map.c
+++ b/map.c
@@ -7,6 +7,11 @@
#include "macros.h"
#include "map.h"
+#if defined(_MSC_VER) && _MSC_VER >= 1400 /* VStudio 2005 is stupid! */
+/* Why the hell is that not in all MSVC headers?? */
+_CRTIMP void __cdecl _assert(void *, void *, unsigned);
+#endif
+
uint _map_log_x;
uint _map_size_x;
uint _map_size_y;