Try to fix test_checkdir windows compilation

This commit is contained in:
Nick Mathewson 2014-11-05 14:39:09 -05:00
parent 1dcc492295
commit bb54d008c2

View File

@ -8,6 +8,10 @@
#include "test.h" #include "test.h"
#include "util.h" #include "util.h"
#ifdef _WIN32
#define mkdir(a,b) mkdir(a)
#endif
/** Run unit tests for private dir permission enforcement logic. */ /** Run unit tests for private dir permission enforcement logic. */
static void static void
test_checkdir_perms(void *testdata) test_checkdir_perms(void *testdata)