From a6c2a568c1be2d2b945aae8fefb1eb0cc51e2e3b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Oct 1998 09:01:49 +0000 Subject: test for creat64() (This used to be commit 8aa6c16eeb96d6a66a2946f5048126f175f9f609) --- source3/smbwrapper/wrapped.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbwrapper') 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); -- cgit