summaryrefslogtreecommitdiff
path: root/libgfortran/generated/in_pack_c4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/generated/in_pack_c4.c')
-rw-r--r--libgfortran/generated/in_pack_c4.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgfortran/generated/in_pack_c4.c b/libgfortran/generated/in_pack_c4.c
index c1446ad02b3..a4fd70909d5 100644
--- a/libgfortran/generated/in_pack_c4.c
+++ b/libgfortran/generated/in_pack_c4.c
@@ -33,6 +33,8 @@ Boston, MA 02110-1301, USA. */
#include <assert.h>
#include "libgfortran.h"
+#if defined (HAVE_GFC_COMPLEX_4)
+
/* Allocates a block of memory with internal_malloc if the array needs
repacking. */
@@ -121,3 +123,4 @@ internal_pack_c4 (gfc_array_c4 * source)
return destptr;
}
+#endif