소스 검색

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 */