diff options
author | truelight <truelight@openttd.org> | 2007-08-03 23:26:12 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-08-03 23:26:12 +0000 |
commit | b3bed1eda1001aa5cabe3df4f8686cc1f42bb2b8 (patch) | |
tree | 47bcbff81f8436d0eb4b71288672b2917abb4e8d /src/map.cpp | |
parent | c76c4bf6e9f7fe8e0537ec96a7cc00d5e7273502 (diff) | |
download | openttd-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.cpp | 2 |
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); |