diff options
-rw-r--r-- | src/test/test_checkdir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c index 409ba80004..b694fd3b9d 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) |