diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-11-05 14:39:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-05 14:39:09 -0500 |
commit | bb54d008c25206f5746aba5b522460e90d641a91 (patch) | |
tree | d98e663df8247c080fd4d083b791dfc9c4935cc8 /src/test/test_checkdir.c | |
parent | 1dcc49229563192cd43258af5eab97d233146f90 (diff) | |
download | tor-bb54d008c25206f5746aba5b522460e90d641a91.tar.gz tor-bb54d008c25206f5746aba5b522460e90d641a91.zip |
Try to fix test_checkdir windows compilation
Diffstat (limited to 'src/test/test_checkdir.c')
-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) |