aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-11-22 22:45:10 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2005-11-22 17:45:10 -0500
commit73e5b024f8319702a462d3b9760347a89c68e75b (patch)
treee45ae5d5d68740caaecb1d4f22f61379490b8a4a /libgfortran/io
parent0dfe2498f5c3f51a0f5628f4b7533620e2454331 (diff)
downloadgcc-73e5b024f8319702a462d3b9760347a89c68e75b.zip
gcc-73e5b024f8319702a462d3b9760347a89c68e75b.tar.gz
gcc-73e5b024f8319702a462d3b9760347a89c68e75b.tar.bz2
io.h (_LARGE_FILES): Undefine for AIX.
* io/io.h (_LARGE_FILES): Undefine for AIX. (_LARGE_FILE_API): Define for AIX. From-SVN: r107380
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index f080c46..967a3a2 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"