commit bb54d008c25206f5746aba5b522460e90d641a91 Author: Nick Mathewson nickm@torproject.org Date: Wed Nov 5 14:39:09 2014 -0500
Try to fix test_checkdir windows compilation --- src/test/test_checkdir.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c index 409ba80..b694fd3 100644 --- a/src/test/test_checkdir.c +++ b/src/test/test_checkdir.c @@ -8,6 +8,10 @@ #include "test.h" #include "util.h"
+#ifdef _WIN32 +#define mkdir(a,b) mkdir(a) +#endif + /** Run unit tests for private dir permission enforcement logic. */ static void test_checkdir_perms(void *testdata)
tor-commits@lists.torproject.org