diff options
author | Joshua Colp <jcolp@digium.com> | 2007-11-18 17:03:38 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-11-18 17:03:38 +0000 |
commit | fa1f321ffcd51d7dfaf177c486d3737af399eecc (patch) | |
tree | 568f7b66866a653acde57e1fa902e4d491e54d47 /include | |
parent | 5adb2b2b0693664a7d1e6b463972ae1da99f5775 (diff) |
Revert last commit, apparently buildbot lied to me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/compat.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 0dd3685d6..a9f032b34 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -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 */ |