Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 918988
Collapse All | Expand All

(-)a/lib/driver/_cdio_stdio.c (-1 / +1 lines)
Lines 50-56 Link Here
50
50
51
/* On 32 bit platforms, fseek can only access streams of 2 GB or less.
51
/* On 32 bit platforms, fseek can only access streams of 2 GB or less.
52
   Prefer fseeko/fseeko64, that take a 64 bit offset when LFS is enabled */
52
   Prefer fseeko/fseeko64, that take a 64 bit offset when LFS is enabled */
53
#if defined(HAVE_FSEEKO64) && defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
53
#if defined(HAVE_FSEEKO64) && defined(_LARGEFILE_SOURCE)
54
#define CDIO_FSEEK fseeko64
54
#define CDIO_FSEEK fseeko64
55
#elif defined(HAVE_FSEEKO)
55
#elif defined(HAVE_FSEEKO)
56
#define CDIO_FSEEK fseeko
56
#define CDIO_FSEEK fseeko
(-)a/lib/driver/_cdio_generic.c (-1 / +1 lines)
Lines 56-62 Link Here
56
#endif
56
#endif
57
57
58
/* If available and LFS is enabled, try to use lseek64 */
58
/* If available and LFS is enabled, try to use lseek64 */
59
#if defined(HAVE_LSEEK64) && defined(_FILE_OFFSET_BITS) && (_FILE_OFFSET_BITS == 64)
59
#if defined(HAVE_LSEEK64) && defined(_LARGEFILE_SOURCE)
60
#if defined(_MSC_VER)
60
#if defined(_MSC_VER)
61
#include <io.h>
61
#include <io.h>
62
#endif
62
#endif

Return to bug 918988