diff options
Diffstat (limited to 'libgfortran/m4/shape.m4')
-rw-r--r-- | libgfortran/m4/shape.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/m4/shape.m4 b/libgfortran/m4/shape.m4 index 5481ba07cb6..1b9e10077c0 100644 --- a/libgfortran/m4/shape.m4 +++ b/libgfortran/m4/shape.m4 @@ -34,6 +34,8 @@ Boston, MA 02110-1301, USA. */ #include "libgfortran.h"' include(iparm.m4)dnl +`#if defined (HAVE_'rtype_name`)' + extern void shape_`'rtype_kind (rtype * ret, const rtype * array); export_proto(shape_`'rtype_kind); @@ -53,3 +55,5 @@ shape_`'rtype_kind (rtype * ret, const rtype * array) array->dim[n].ubound + 1 - array->dim[n].lbound; } } + +#endif |