Fix error that can not override DEBUG

This commit is contained in:
Michael Lee
2025-12-02 16:46:01 +08:00
parent 84add811a7
commit 236590835a

View File

@@ -30,7 +30,9 @@ extern "C" {
#ifndef DEBUG
#define DEBUG 1
#endif
#define warning_print() \
do { if (DEBUG) fprintf(stderr, "%s:%d:%s():\n",__FILE__, __LINE__, __FUNCTION__); } while (0)