On 03/ 1/15 12:52 PM, Vinson Lee wrote:
Fix build on FreeBSD.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89364
Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
include/c99_alloca.h | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/include/c99_alloca.h b/include/c99_alloca.h
index 7a81c50..575f719 100644
--- a/include/c99_alloca.h
+++ b/include/c99_alloca.h
@@ -35,13 +35,9 @@
# define alloca _alloca
-#elif defined(__MINGW32__)
-
-# include <malloc.h>
-
#else /* !defined(_MSC_VER) */
-# include <alloca.h>
+# include <stdlib.h>
#endif /* !defined(_MSC_VER) */
Solaris defines alloca() in <alloca.h>, not <stdlib.h>
--
-Alan Coopersmith- alan.coopersm...@oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev