]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Try to fix test_checkdir windows compilation
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Nov 2014 19:39:09 +0000 (14:39 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Nov 2014 19:39:09 +0000 (14:39 -0500)
src/test/test_checkdir.c

index 409ba8000485699e6f4ffdfd5ba9dbd0cbeb1d89..b694fd3b9d446cf38b19ced0a04e5e8521ef6f38 100644 (file)
@@ -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)