[Ecm-commits] r2407 - branches/6.4.4

cvs commits ecm-commits at lists.gforge.inria.fr
Fri Feb 15 14:22:51 CET 2013


Author: kruppa
Date: 2013-02-15 14:22:50 +0100 (Fri, 15 Feb 2013)
New Revision: 2407

Log:
MinGW has alloca() prototype in malloc.h


Modified:
   branches/6.4.4/mul_fft.c
Modified: branches/6.4.4/mul_fft.c
===================================================================
--- branches/6.4.4/mul_fft.c	2013-02-14 12:08:03 UTC (rev 2406)
+++ branches/6.4.4/mul_fft.c	2013-02-15 13:22:50 UTC (rev 2407)
@@ -60,14 +60,17 @@
    /* Throughout this file, Mp is chosen so that 
       ord_{2^Nprime + 1}(sqrt(2)^Mp) == 2^k */
 
+#include "config.h"
 #include <stdio.h>
 #include <stdlib.h> /* for abort() */
 #include <limits.h> /* for LONG_MAX */
 #include <assert.h>
-#include "config.h"
 #ifdef HAVE_ALLOCA_H
 #include <alloca.h>
 #endif
+#ifdef HAVE_MALLOC_H
+#include <malloc.h>
+#endif
 #include "gmp.h"
 #include "mul_fft-params.h"
 




More information about the Ecm-commits mailing list