comparison common/debug.h @ 188:a3bde2aaabd9

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 26 Mar 2014 09:12:10 +0100
parents 7b9545ad76f6
children 29467940b07b
comparison
equal deleted inserted replaced
187:0c06a608e15f 188:a3bde2aaabd9
1 #ifndef DEBUG_H
2 #define DEBUG_H
3
4 /**
5 * @file debug.h
6 * @brief Helper macros for debugging
7 */
8
9 /**
10 * @brief Debug printf
11 *
12 * Prints to stderr if RELEASE_BUILD is not defined.
13 */
14 #ifndef RELEASE_BUILD
15 #define DEBUGFPRINT(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__);
16 #else
17 #define DEBUGFPRINT(fmt, ...)
18 #endif
19
20 #endif

http://wald.intevation.org/projects/trustbridge/