summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-22 22:45:10 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-22 22:45:10 +0000
commitcbf3fbb00a99bb0ab8d4088e32314218033cee74 (patch)
treee45ae5d5d68740caaecb1d4f22f61379490b8a4a /libgfortran
parent5429cdecf9e8a5742fa527c6edc62e9cdfb11106 (diff)
downloadgcc-cbf3fbb00a99bb0ab8d4088e32314218033cee74.tar.gz
* io/io.h (_LARGE_FILES): Undefine for AIX.
(_LARGE_FILE_API): Define for AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107380 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/io/io.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 80ff9696f5a..2d1ec43575b 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-21 David Edelsohn <edelsohn@gnu.org>
+
+ * io/io.h (_LARGE_FILES): Undefine for AIX.
+ (_LARGE_FILE_API): Define for AIX.
+
2005-11-21 Jakub Jelinek <jakub@redhat.com>
PR fortran/24774
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index f080c4607ad..967a3a2cce5 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 <gthr.h>
#define DEFAULT_TEMPDIR "/tmp"