Explorar o código

kludge because openssl and zlib both typedef free_func :(

svn:r208
Roger Dingledine %!s(int64=22) %!d(string=hai) anos
pai
achega
5d0904bc41
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"