summaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-04 16:28:44 +0000
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-04 16:28:44 +0000
commit4dbc065859bd48a6c865105eef41fa00606ad173 (patch)
treea435ab3b0975b61493223bb3a25af26b5f2a3e5b /libgfortran/libgfortran.h
parentd66a47eece163b82733144c7c26e8d10f060d5e5 (diff)
downloadgcc-4dbc065859bd48a6c865105eef41fa00606ad173.tar.gz
PR libfortran/40812 Large file support for MinGW
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154984 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index bba95f7c781..dd63fa4e616 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -56,7 +56,12 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+
+#ifdef __MINGW32__
+typedef off64_t gfc_offset;
+#else
typedef off_t gfc_offset;
+#endif
#ifndef NULL
#define NULL (void *) 0