Browse Source

Try to fix test_checkdir windows compilation

Nick Mathewson 9 years ago
parent
commit
bb54d008c2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/test/test_checkdir.c

+ 4 - 0
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)