projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa1f321
)
Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
author
Joshua Colp
<jcolp@digium.com>
Sun, 18 Nov 2007 17:49:40 +0000
(17:49 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Sun, 18 Nov 2007 17:49:40 +0000
(17:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89398
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/compat.h
patch
|
blob
|
history
diff --git
a/include/asterisk/compat.h
b/include/asterisk/compat.h
index
a9f032b
..
25476bc
100644
(file)
--- 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