bug fixed: marco DPRINT never work

This commit is contained in:
2024-09-09 08:50:21 +08:00
parent eca3fb03f2
commit 922fcea866

4
main.c
View File

@@ -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, ...)