mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#ifdef HAVE_ALLOCA_H
|
#ifdef HAVE_ALLOCA_H
|
||||||
#include <alloca.h> /* not necessarily present - could be in stdlib */
|
#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... */
|
#include <malloc.h> /* see if it is here... */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user