OSDN Git Service

* adaint.h: Assume large file support on IRIX only if _LFAPI.
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 13:19:14 +0000 (13:19 +0000)
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Nov 2009 13:19:14 +0000 (13:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154442 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 86f2bcc..2eaa7ce 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 76a181a..0412ffb 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