You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hdf5/hdf5-1.6.6-s390.patch

19 lines
570 B

--- hdf5-1.6.6/fortran/src/H5f90i.h.orig 2008-02-04 19:14:01.000000000 +0100
+++ hdf5-1.6.6/fortran/src/H5f90i.h 2008-02-04 19:14:48.000000000 +0100
@@ -125,6 +125,15 @@
typedef int size_t_f;
#define FNAME_POST_UNDERSCORE
+/* s390/s390x specific definitions */
+#elif (defined __s390__ || defined __s390x__)
+
+typedef long long haddr_t_f;
+typedef long long hsize_t_f;
+typedef long long hssize_t_f;
+typedef int size_t_f;
+#define FNAME_POST_UNDERSCORE
+
/* IA64 specific definitions */
#elif defined __ia64