Przeglądaj źródła

Merge pull request #649 from kraj/master

undefine macro before redefining
bel2125 6 lat temu
rodzic
commit
819f2a9058
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/main.c

+ 1 - 0
src/main.c

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