diff options
author | tron <tron@openttd.org> | 2005-01-07 17:47:29 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-07 17:47:29 +0000 |
commit | 76c7f3b14e159539e512ac6f13019eea0bad1a04 (patch) | |
tree | 81b525629548d21d2ca57ab7acb702b667f72c3f /macros.h | |
parent | 35972e68e144030fa04198ba7f47ccc21ae5dfa4 (diff) | |
download | openttd-76c7f3b14e159539e512ac6f13019eea0bad1a04.tar.xz |
(svn r1416) Print sensible information in SafeTileAdd() if gcc is used
Diffstat (limited to 'macros.h')
-rw-r--r-- | macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ extern uint SafeTileAdd(uint x, int add, const char *exp, const char *file, int # define TILE_ADD(x,y) ((x)+(y)) #else # if defined(__GNUC__) -# define TILE_ADD(x,y) (SafeTileAdd((x),(y), "??", __FILE__, __LINE__)) +# define TILE_ADD(x,y) (SafeTileAdd((x),(y), #x ", " #y, __FILE__, __LINE__)) # else # define TILE_ADD(x,y) (SafeTileAdd((x),(y), #x ## ", " ## #y, __FILE__, __LINE__)) # endif |