Explorar el Código

kludge because openssl and zlib both typedef free_func :(

svn:r208
Roger Dingledine hace 22 años
padre
commit
5d0904bc41
Se han modificado 1 ficheros con 2 adiciones y 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"