]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* adaint.h: Assume large file support on IRIX only if _LFAPI.
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Mon, 23 Nov 2009 13:19:14 +0000 (13:19 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 23 Nov 2009 13:19:14 +0000 (13:19 +0000)
From-SVN: r154442

gcc/ada/ChangeLog
gcc/ada/adaint.h

index 86f2bcc3c22b0f155f98cd31072713007113529b..2eaa7ce4e741901eac3377b4843b994d5cdacfdb 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * adaint.h: Assume large file support on IRIX only if _LFAPI.
+
 2009-11-21  Eric Botcazou  <ebotcazou@adacore.com>
             Laurent GUERBY  <laurent@guerby.net>
 
index 76a181a001cb5e79d13acb8a559cc08248fd6e95..0412ffbf808daa040568c21f723995fa998701d7 100644 (file)
@@ -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