projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ff54c98
)
Include malloc.h under windows for alloca in glib.h.
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 10 Feb 2011 23:33:19 +0000
(
00:33
+0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 10 Feb 2011 23:33:19 +0000
(
00:33
+0100)
eglib/src/glib.h
patch
|
blob
|
history
diff --git
a/eglib/src/glib.h
b/eglib/src/glib.h
index 3485015468e00175f401f88fd53ae8db8ef1f81f..70ec3ad59feb7b796083882dd42385bc5e6a5cc3 100644
(file)
--- a/
eglib/src/glib.h
+++ b/
eglib/src/glib.h
@@
-32,6
+32,11
@@
#include <alloca.h>
#endif
+#ifdef WIN32
+/* For alloca */
+#include <malloc.h>
+#endif
+
#ifndef offsetof
# define offsetof(s_name,n_name) (size_t)(char *)&(((s_name*)0)->m_name)
#endif