Pārlūkot izejas kodu

kludge because openssl and zlib both typedef free_func :(

svn:r208
Roger Dingledine 22 gadi atpakaļ
vecāks
revīzija
5d0904bc41
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/or/or.h

+ 2 - 0
src/or/or.h

@@ -37,7 +37,9 @@
 #include <assert.h>
 #include <time.h>
 #ifdef USE_ZLIB
+#define free_func zlib_free_func
 #include <zlib.h>
+#undef free_func
 #endif
 
 #include "../common/crypto.h"