浏览代码

Merge pull request #649 from kraj/master

undefine macro before redefining
bel2125 6 年之前
父节点
当前提交
819f2a9058
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main.c

+ 1 - 0
src/main.c

@@ -86,6 +86,7 @@
 
 #include "civetweb.h"
 
+#undef printf
 #define printf                                                                 \
 	DO_NOT_USE_THIS_FUNCTION__USE_fprintf /* Required for unit testing */