diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-05 09:01:49 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-05 09:01:49 +0000 |
commit | a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b (patch) | |
tree | 07dac5beb5b7c5d89d14e578a0fb37387b9472dc /source3/smbwrapper | |
parent | 61d8534d7cd274d521ee211ac927096a465a0551 (diff) | |
download | samba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.tar.gz samba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.tar.bz2 samba-a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b.zip |
test for creat64()
(This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r-- | source3/smbwrapper/wrapped.c | 2 |
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); |