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 | d99bec71701d611b0d8ee44d92cb8ed28162af56 (patch) | |
tree | 31f6790460e8f7ec210ec6a12962dfeab54ecc70 /source3/lib | |
parent | 98825661ddb4dd5cfa603291a69b5c4d3d98e791 (diff) | |
download | samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.tar.gz samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.tar.bz2 samba-d99bec71701d611b0d8ee44d92cb8ed28162af56.zip |
got rid of some more old configure tests and includes
(This used to be commit f137648504362479143d50477fa38ebf7147968b)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/system.c | 17 |
1 files changed, 0 insertions, 17 deletions
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. ********************************************************************/ |