fix compile on windows

This commit is contained in:
Roger Dingledine 2009-10-11 17:23:47 -04:00
parent 255245a289
commit 9d6c79cbbb

View File

@ -14,6 +14,10 @@
#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