summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-08-03 23:26:12 +0000
committertruelight <truelight@openttd.org>2007-08-03 23:26:12 +0000
commitb3bed1eda1001aa5cabe3df4f8686cc1f42bb2b8 (patch)
tree47bcbff81f8436d0eb4b71288672b2917abb4e8d /src/map.cpp
parentc76c4bf6e9f7fe8e0537ec96a7cc00d5e7273502 (diff)
downloadopenttd-b3bed1eda1001aa5cabe3df4f8686cc1f42bb2b8.tar.xz
(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 0c0964dfa..6156ecf8e 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -84,7 +84,7 @@ TileIndex TileAdd(TileIndex tile, TileIndexDiff add,
snprintf(buf, lengthof(buf), "TILE_ADD(%s) when adding 0x%.4X and 0x%.4X failed",
exp, tile, add);
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) || defined(WINCE)
fprintf(stderr, "%s:%d %s\n", file, line, buf);
#else
_assert(buf, (char*)file, line);