projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- add doxygen comments to all functions
[libfirm]
/
include
/
libfirm
/
adt
/
xmalloc.h
diff --git
a/include/libfirm/adt/xmalloc.h
b/include/libfirm/adt/xmalloc.h
index
6e0283c
..
d9d8d75
100644
(file)
--- a/
include/libfirm/adt/xmalloc.h
+++ b/
include/libfirm/adt/xmalloc.h
@@
-91,11
+91,10
@@
char *xstrdup(const char *str);
/* Includes for alloca() */
-#if defined(__FreeBSD__)
-#include <stdlib.h>
-#elif defined(_WIN32)
+#ifdef _WIN32
#include <malloc.h>
-#else
+#endif
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif