bug fixed: marco DPRINT never work
This commit is contained in:
4
main.c
4
main.c
@@ -17,10 +17,10 @@
|
|||||||
sprintf(u, URL, SUBROOMID, enc, timestamp); \
|
sprintf(u, URL, SUBROOMID, enc, timestamp); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef Debug
|
#ifndef NDEBUG
|
||||||
#define DPRINT(s, __VA_ARGS__) \
|
#define DPRINT(s, __VA_ARGS__) \
|
||||||
{ \
|
{ \
|
||||||
printf(s, ...); \
|
printf(s, __VA_ARGS__); \
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#define DPRINT(s, ...)
|
#define DPRINT(s, ...)
|
||||||
|
|||||||
Reference in New Issue
Block a user