aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-11-25 19:26:12 +0000
committerDavid Edelsohn <edelsohn@gnu.org>2005-11-25 19:26:12 +0000
commit840646eb960bb5273110cb278425dc516a8a6d0e (patch)
treede7443a5cc580fcd4fed2dc2c9db8bb759d67981 /libgfortran
parent5dc3ebe2a68251cb9ea411cd0d9bfbde3b003929 (diff)
* io/io.h (_LARGE_FILES): Undefine for AIX.
(_LARGE_FILE_API): Define for AIX. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch@107514 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 c22b09c3b46..d8eed6a02a2 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-25 David Edelsohn <edelsohn@gnu.org>
+
+ * io/io.h (_LARGE_FILES): Undefine for AIX.
+ (_LARGE_FILE_API): Define for AIX.
+
2005-11-23 Alan Modra <amodra@bigpond.net.au>
* io/open.c (new_unit): Use the right unit number when checking
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"