diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 86f2bcc3c22..2eaa7ce4e74 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2009-11-23 Rainer Orth + + * adaint.h: Assume large file support on IRIX only if _LFAPI. + 2009-11-21 Eric Botcazou Laurent GUERBY diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 76a181a001c..0412ffbf808 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -47,7 +47,7 @@ determine at compile time what support the system offers for large files. For now we just list the platforms we have manually tested. */ -#if defined (__GLIBC__) || defined (sun) || defined (__sgi) +#if defined (__GLIBC__) || defined (sun) || (defined (__sgi) && defined(_LFAPI)) #define GNAT_FOPEN fopen64 #define GNAT_STAT stat64 #define GNAT_FSTAT fstat64