Mercurial > trustbridge
comparison common/debug.h @ 227:29467940b07b
Fixed naming of debugging print macro.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 27 Mar 2014 18:24:08 +0100 |
parents | 7b9545ad76f6 |
children | 19de529ce7fb |
comparison
equal
deleted
inserted
replaced
226:d7788db3bdde | 227:29467940b07b |
---|---|
10 * @brief Debug printf | 10 * @brief Debug printf |
11 * | 11 * |
12 * Prints to stderr if RELEASE_BUILD is not defined. | 12 * Prints to stderr if RELEASE_BUILD is not defined. |
13 */ | 13 */ |
14 #ifndef RELEASE_BUILD | 14 #ifndef RELEASE_BUILD |
15 #define DEBUGFPRINT(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__); | 15 #define DEBUGPRINTF(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__); |
16 #else | 16 #else |
17 #define DEBUGFPRINT(fmt, ...) | 17 #define DEBUGPRINTF(fmt, ...) |
18 #endif | 18 #endif |
19 | 19 |
20 #endif | 20 #endif |