[Mesa-dev] [PATCH] c99_alloca.h: add case for __sun

Brian Paul brianp at vmware.com
Tue Mar 3 07:10:13 PST 2015


---
 include/c99_alloca.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/c99_alloca.h b/include/c99_alloca.h
index 575f719..ed66fda 100644
--- a/include/c99_alloca.h
+++ b/include/c99_alloca.h
@@ -35,6 +35,10 @@
 
 #  define alloca _alloca
 
+#elif defined(__sun)
+
+#  include <alloca.h>
+
 #else /* !defined(_MSC_VER) */
 
 #  include <stdlib.h>
-- 
1.9.1



More information about the mesa-dev mailing list