[svn-commits] file: trunk r89397 - /trunk/include/asterisk/compat.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Nov 18 11:03:38 CST 2007


Author: file
Date: Sun Nov 18 11:03:38 2007
New Revision: 89397

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89397
Log:
Revert last commit, apparently buildbot lied to me.

Modified:
    trunk/include/asterisk/compat.h

Modified: trunk/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/compat.h?view=diff&rev=89397&r1=89396&r2=89397
==============================================================================
--- trunk/include/asterisk/compat.h (original)
+++ trunk/include/asterisk/compat.h Sun Nov 18 11:03:38 2007
@@ -52,14 +52,9 @@
 #endif
 
 #ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#elif defined(__GNUC__)
-#define alloca __builtin_alloca
-#elif defined(_AIX)
-#define alloca __alloca
-#elif defined(_MSC_VER)
-#include <malloc.h>
-#define alloca _alloca
+#include <alloca.h>    /* not necessarily present - could be in stdlib */
+#elif defined(HAVE_ALLOCA)
+#include <malloc.h>    /* see if it is here... */
 #endif
 
 #include <stdio.h>	/* this is always present */




More information about the svn-commits mailing list