From 75d05d2ab74bf3d2fd9ceac0d7b2e45a75aae0bb Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Mon, 23 Nov 2009 13:19:14 +0000 Subject: * adaint.h: Assume large file support on IRIX only if _LFAPI. From-SVN: r154442 --- gcc/ada/adaint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ada/adaint.h') diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 76a181a..0412ffb 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 -- cgit v1.1