repo.or.cz
/
rofl0r-openbor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix link errors on compilers with strict "extern" enforcement
[rofl0r-openbor.git]
/
source
/
debug.h
blob
cab9a42951ae4f8d8db230d9ed73186bdb66d848
1
#ifndef DEBUG_H
2
#define DEBUG_H
3
4
#include <stdio.h>
5
6
#ifdef DEBUG
7
# define PDEBUG(fmt, args...) do { fprintf(stderr,
"DEBUG: "
fmt, ## args); fflush(stderr); } while (0)
8
#else
9
# define PDEBUG(fmt, args...) do { } while(0)
10
#endif
11
12
#endif