diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-01-03 21:52:36 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-01-03 21:56:47 +0100 |
commit | 615250dffebbbdfe0b55a31799aac36b2d044822 (patch) | |
tree | 563f4e65ff409d766883a918781b61200cbbc7dd /crawl-ref/source/mpr.h | |
parent | 4dee9d6d1fb276a5bcdd5532a1c989551c9088ce (diff) | |
parent | ce683203784375b841d686a36083c1448fa653db (diff) | |
download | crawl-ref-615250dffebbbdfe0b55a31799aac36b2d044822.tar.gz crawl-ref-615250dffebbbdfe0b55a31799aac36b2d044822.zip |
Merge branch 'master' into messagewindow
Conflicts:
crawl-ref/source/message.cc
Diffstat (limited to 'crawl-ref/source/mpr.h')
-rw-r--r-- | crawl-ref/source/mpr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/mpr.h b/crawl-ref/source/mpr.h index f3bc5e5c61..295d96a782 100644 --- a/crawl-ref/source/mpr.h +++ b/crawl-ref/source/mpr.h @@ -81,4 +81,11 @@ void mprf( msg_channel_type channel, int param, const char *format, ... ); void mprf( msg_channel_type channel, const char *format, ... ); void mprf( const char *format, ... ); +// Yay for C89 and lack of variadic #defines... +#ifdef DEBUG_DIAGNOSTICS +void dprf( const char *format, ... ); +#else +static inline void dprf( const char *format, ... ) {} +#endif + #endif |