]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix compile on windows tor-0.2.2.5-alpha
authorRoger Dingledine <arma@torproject.org>
Sun, 11 Oct 2009 21:23:47 +0000 (17:23 -0400)
committerRoger Dingledine <arma@torproject.org>
Sun, 11 Oct 2009 21:23:47 +0000 (17:23 -0400)
src/or/circuitbuild.c

index fbdbb85b2fe1205bf00324b97daafe24bebb81d9..40c3a6b87f4de35c7e2188d9cbdfd55fec0fcb5d 100644 (file)
 #include "or.h"
 #include "crypto.h"
 
+#ifndef MIN
+#define MIN(a,b) ((a)<(b)?(a):(b))
+#endif
+
 /*
  * This madness is needed because if we simply #undef log
  * before including or.h or log.h, we get linker collisions