summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
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;