diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-17 06:11:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-17 06:11:08 +0000 |
commit | f137648504362479143d50477fa38ebf7147968b (patch) | |
tree | c174662d99efd22e481736d2262da31b93574fde /source/lib/system.c | |
parent | e8905a557a342ba3604a61663c6ff24887a9fd46 (diff) | |
download | samba-f137648504362479143d50477fa38ebf7147968b.tar.gz samba-f137648504362479143d50477fa38ebf7147968b.tar.xz samba-f137648504362479143d50477fa38ebf7147968b.zip |
got rid of some more old configure tests and includes
Diffstat (limited to 'source/lib/system.c')
-rw-r--r-- | source/lib/system.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source/lib/system.c b/source/lib/system.c index 3354ee0bbc3..539f21d49c1 100644 --- a/source/lib/system.c +++ b/source/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. ********************************************************************/ |