summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-23 22:30:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:42 -0500
commit66a52992ff6a9f2f926249ac428d6fad72303637 (patch)
tree125e49ba1f1f28a9f0e205482d250f344e9bbed0 /source4/include
parentf877a7fdf570db5c36c29eebc0e579f848e4a912 (diff)
downloadsamba-66a52992ff6a9f2f926249ac428d6fad72303637.tar.gz
samba-66a52992ff6a9f2f926249ac428d6fad72303637.tar.bz2
samba-66a52992ff6a9f2f926249ac428d6fad72303637.zip
r7850: Support mkdir() with just one parameter. Patch from
Steven Edwards <steven_ed4153@yahoo.com>. I've moved the Win32-specific tests to win32.m4 so it does not make any of the POSIX configure stuff more complicated. (This used to be commit bf85fdd01552f75b745fdf3159a7a87cd6521ed2)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/system/dir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/include/system/dir.h b/source4/include/system/dir.h
index 14c0ba4f19..07a732e206 100644
--- a/source4/include/system/dir.h
+++ b/source4/include/system/dir.h
@@ -37,3 +37,6 @@
# endif
#endif
+#ifndef HAVE_MKDIR_MODE
+#define mkdir(dir, mode) mkdir(dir)
+#endif