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
commit930bb8424231c4d11aa838f737ef5a7f2bc27db2 (patch)
tree47bcbff81f8436d0eb4b71288672b2917abb4e8d /src/map.cpp
parentc02d8ebb09f6e4294f6fab6c8a5cc90ef483c36c (diff)
downloadopenttd-930bb8424231c4d11aa838f737ef5a7f2bc27db2.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);