diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 15:39:48 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-04-20 16:25:16 +0200 |
commit | e5233ccf9e32cd5d399f91512d7f310d43558e31 (patch) | |
tree | e4ac4d6c8eb651c1564cc3fe8b3f8e2a4bcf5f7b /lib/replace/test | |
parent | fbf4293d7ec80b93d2b289698f85641dbf26750a (diff) | |
download | samba-e5233ccf9e32cd5d399f91512d7f310d43558e31.tar.gz samba-e5233ccf9e32cd5d399f91512d7f310d43558e31.tar.bz2 samba-e5233ccf9e32cd5d399f91512d7f310d43558e31.zip |
Cope with the fact that only _mkdir() exists on Windows and that it
doesn't take a mode argument.
Diffstat (limited to 'lib/replace/test')
-rw-r--r-- | lib/replace/test/os2_delete.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/test/os2_delete.c b/lib/replace/test/os2_delete.c index 44efeea08a..8b52837018 100644 --- a/lib/replace/test/os2_delete.c +++ b/lib/replace/test/os2_delete.c @@ -27,6 +27,10 @@ static int test_readdir_os2_delete_ret; #define MIN(a,b) ((a)<(b)?(a):(b)) #endif +#ifdef _WIN32 +#define mkdir(d,m) _mkdir(d) +#endif + static void cleanup(void) { /* I'm a lazy bastard */ |