summaryrefslogtreecommitdiff
path: root/strgen
diff options
context:
space:
mode:
authororudge <orudge@openttd.org>2006-03-31 16:01:59 +0000
committerorudge <orudge@openttd.org>2006-03-31 16:01:59 +0000
commitff3c61b011ad961b8b841786fbe7b8975732bfc6 (patch)
tree82b4d9cb3e5863fcd4bd59d6e381b9bb5f7759c3 /strgen
parentd3fdba9556dd17ae89b5f7ea8b43172161e5dbb1 (diff)
downloadopenttd-ff3c61b011ad961b8b841786fbe7b8975732bfc6.tar.xz
(svn r4204) - Get trunk compiling again on OS/2
Diffstat (limited to 'strgen')
-rw-r--r--strgen/strgen.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/strgen/strgen.c b/strgen/strgen.c
index 67fd1be5a..9ae091a88 100644
--- a/strgen/strgen.c
+++ b/strgen/strgen.c
@@ -20,6 +20,14 @@
#define stderr stdout
#endif // __MORPHOS__
+#ifdef __WATCOMC__
+ uint _map_log_x; // an unpleasant hack required because Watcom is insisting on
+ uint _map_size_x; // these variables being valid references in map.h
+ uint _map_size_y;
+ uint _map_tile_mask;
+ uint _map_size;
+#endif
+
/* Compiles a list of strings into a compiled string list */
typedef void (*ParseCmdProc)(char *buf, int value);