diff options
author | Brad Smith <brad@comstyle.com> | 2011-10-12 04:23:58 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-10-14 17:52:36 +0200 |
commit | d810ada39c584fd2a543f41fb3a121520ab0764e (patch) | |
tree | 6cc8856851b658747bb3bdf9a4c8b64e75e8fd31 /source3/lib/system.c | |
parent | 6af702bdc9ea36a1f33232a818a819afde9bc4d2 (diff) | |
download | samba-d810ada39c584fd2a543f41fb3a121520ab0764e.tar.gz samba-d810ada39c584fd2a543f41fb3a121520ab0764e.tar.bz2 samba-d810ada39c584fd2a543f41fb3a121520ab0764e.zip |
Fix sys_fseek wrapper
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r-- | source3/lib/system.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c index 0aefd6d929..45fe77e344 100644 --- a/source3/lib/system.c +++ b/source3/lib/system.c @@ -734,6 +734,8 @@ int sys_fseek(FILE *fp, SMB_OFF_T offset, int whence) return fseek64(fp, offset, whence); #elif defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_FSEEKO64) return fseeko64(fp, offset, whence); +#elif defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(LARGE_SMB_OFF_T) && defined(HAVE_FSEEKO) + return fseeko(fp, offset, whence); #else return fseek(fp, offset, whence); #endif |