From: David Edelsohn Date: Tue, 22 Nov 2005 22:45:10 +0000 (+0000) Subject: io.h (_LARGE_FILES): Undefine for AIX. X-Git-Tag: releases/gcc-4.2.0~5801 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e5b024f8319702a462d3b9760347a89c68e75b;p=thirdparty%2Fgcc.git io.h (_LARGE_FILES): Undefine for AIX. * io/io.h (_LARGE_FILES): Undefine for AIX. (_LARGE_FILE_API): Define for AIX. From-SVN: r107380 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 80ff9696f5a4..2d1ec43575be 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2005-11-21 David Edelsohn + + * io/io.h (_LARGE_FILES): Undefine for AIX. + (_LARGE_FILE_API): Define for AIX. + 2005-11-21 Jakub Jelinek PR fortran/24774 diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h index f080c4607adc..967a3a2cce55 100644 --- a/libgfortran/io/io.h +++ b/libgfortran/io/io.h @@ -36,6 +36,12 @@ Boston, MA 02110-1301, USA. */ /* Used by gthr.h. */ #define SUPPORTS_WEAK 1 #endif + +#ifdef _AIX +#undef _LARGE_FILES +#define _LARGE_FILE_API +#endif + #include #define DEFAULT_TEMPDIR "/tmp"