summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapped.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r--source3/smbwrapper/wrapped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 65550b19cc..6bfb465828 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -803,12 +803,12 @@
}
#endif
-#ifndef LINUX
int creat(const char *path, mode_t mode)
{
return open(path, O_WRONLY|O_CREAT|O_TRUNC, mode);
}
+#ifdef HAVE_CREAT64
int creat64(const char *path, mode_t mode)
{
return open64(path, O_WRONLY|O_CREAT|O_TRUNC, mode);