diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-18 17:49:40 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-18 17:49:40 +0000 |
commit | c47a1d44ba8caad24425665080c531bf0817ab8b (patch) | |
tree | 613100edf866930ba260a8de9cffb24fd0b34841 /include | |
parent | 9aacf0a023bfe4100a10efb2ebd377120b2cb395 (diff) |
Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89398 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index a9f032b34..25476bc47 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -53,7 +53,7 @@ #ifdef HAVE_ALLOCA_H #include <alloca.h> /* not necessarily present - could be in stdlib */ -#elif defined(HAVE_ALLOCA) +#elif defined(HAVE_ALLOCA) && defined(__MINGW32__) #include <malloc.h> /* see if it is here... */ #endif |