]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgfortran/m4/dotprodl.m4
re PR libfortran/19308 (I/O library should support more real and integer kinds)
[thirdparty/gcc.git] / libgfortran / m4 / dotprodl.m4
index 56365f03c3dc7081e08345fa3cd5ae367e8e9092..946fe228519f246e4d290db979a07d9dcd3c03b5 100644 (file)
@@ -34,6 +34,8 @@ Boston, MA 02110-1301, USA.  */
 #include "libgfortran.h"'
 include(iparm.m4)dnl
 
+`#if defined (HAVE_'rtype_name`)'
+
 extern rtype_name dot_product_`'rtype_code (gfc_array_l4 *, gfc_array_l4 *);
 export_proto(dot_product_`'rtype_code);
 
@@ -84,3 +86,5 @@ dot_product_`'rtype_code (gfc_array_l4 * a, gfc_array_l4 * b)
 
   return 0;
 }
+
+#endif