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
commit0fe27c16afbb048dd3e8890293f4d1d44d4b556c (patch)
tree82b4d9cb3e5863fcd4bd59d6e381b9bb5f7759c3 /strgen
parentfa467d2f58e23d3293810bdc7151fa69e9cd00f4 (diff)
downloadopenttd-0fe27c16afbb048dd3e8890293f4d1d44d4b556c.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);