* adaint.h: Assume large file support on IRIX only if _LFAPI.

From-SVN: r154442
This commit is contained in:
Rainer Orth 2009-11-23 13:19:14 +00:00 committed by Rainer Orth
parent 1586899ee9
commit 75d05d2ab7
2 changed files with 5 additions and 1 deletions

View 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>

View 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