[Ecm-commits] r2410 - trunk

cvs commits ecm-commits at lists.gforge.inria.fr
Tue Feb 19 13:29:23 CET 2013


Author: kruppa
Date: 2013-02-19 13:29:22 +0100 (Tue, 19 Feb 2013)
New Revision: 2410

Log:
Use defined() for HAVE_ALLOCA_H test


Modified:
   trunk/basicdefs.h
Modified: trunk/basicdefs.h
===================================================================
--- trunk/basicdefs.h	2013-02-16 19:40:15 UTC (rev 2409)
+++ trunk/basicdefs.h	2013-02-19 12:29:22 UTC (rev 2410)
@@ -142,7 +142,7 @@
 #elif defined (_MSC_VER)
 # include <malloc.h>
 # define alloca _alloca
-#elif HAVE_ALLOCA_H || defined (sun)
+#elif defined(HAVE_ALLOCA_H) || defined (sun)
 # include <alloca.h>
 #elif defined (_AIX) || defined (_IBMR2)
 #pragma alloca




More information about the Ecm-commits mailing list