Merge pull request #1839 from mikecovlee/master

[bugfix] fix win32 incompatible pointer type error and cmake warnings
This commit is contained in:
Zhi Guan
2025-12-08 20:42:24 +08:00
committed by GitHub
3 changed files with 4 additions and 2 deletions

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)