From d99bec71701d611b0d8ee44d92cb8ed28162af56 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Apr 2000 06:11:08 +0000 Subject: got rid of some more old configure tests and includes (This used to be commit f137648504362479143d50477fa38ebf7147968b) --- source3/lib/system.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/system.c b/source3/lib/system.c index 3354ee0bbc..539f21d49c 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -323,23 +323,6 @@ FILE *sys_fopen(const char *path, const char *type) #endif } -#if defined(HAVE_MMAP) - -/******************************************************************* - An mmap() wrapper that will deal with 64 bit filesizes. -********************************************************************/ - -void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, SMB_OFF_T offset) -{ -#if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_MMAP64) - return mmap64(addr, len, prot, flags, fd, offset); -#else - return mmap(addr, len, prot, flags, fd, offset); -#endif -} - -#endif /* HAVE_MMAP */ - /******************************************************************* A readdir wrapper that will deal with 64 bit filesizes. ********************************************************************/ -- cgit