aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/m4/reshape.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/m4/reshape.m4')
-rw-r--r--libgfortran/m4/reshape.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/m4/reshape.m4 b/libgfortran/m4/reshape.m4
index adc6df0..c43828c 100644
--- a/libgfortran/m4/reshape.m4
+++ b/libgfortran/m4/reshape.m4
@@ -34,6 +34,8 @@ Boston, MA 02110-1301, USA. */
#include "libgfortran.h"'
include(iparm.m4)dnl
+`#if defined (HAVE_'rtype_name`)'
+
typedef GFC_ARRAY_DESCRIPTOR(1, index_type) shape_type;
/* The shape parameter is ignored. We can currently deduce the shape from the
@@ -258,3 +260,5 @@ reshape_`'rtype_ccode (rtype * ret, rtype * source, shape_type * shape,
}
}
}
+
+#endif