summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/wrapped.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbwrapper/wrapped.c')
-rw-r--r--source/smbwrapper/wrapped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbwrapper/wrapped.c b/source/smbwrapper/wrapped.c
index 65550b19cc8..6bfb465828b 100644
--- a/source/smbwrapper/wrapped.c
+++ b/source/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);