Revert last commit, apparently buildbot lied to me.
authorJoshua Colp <jcolp@digium.com>
Sun, 18 Nov 2007 17:03:38 +0000 (17:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Sun, 18 Nov 2007 17:03:38 +0000 (17:03 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/compat.h

index 0dd3685..a9f032b 100644 (file)
 #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 */