diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-23 13:19:14 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-11-23 13:19:14 +0000 |
commit | 64a09ce25d776cf58053505feba68011a59249a6 (patch) | |
tree | 6d1791d3e31717829b70056951f1c674ae815d78 /gcc/ada/adaint.h | |
parent | eaab88a4a2b64f5fa2d7f044fa5674a3e574a4b0 (diff) | |
download | gcc-64a09ce25d776cf58053505feba68011a59249a6.tar.gz |
* adaint.h: Assume large file support on IRIX only if _LFAPI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |