Mesa (master): c99_alloca.h: add case for __sun

Brian Paul brianp at kemper.freedesktop.org
Tue Mar 3 15:39:28 UTC 2015


Module: Mesa
Branch: master
Commit: 5ece2888769c2886b181d228ad447a8bca2ddee0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ece2888769c2886b181d228ad447a8bca2ddee0

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Mar  3 08:09:21 2015 -0700

c99_alloca.h: add case for __sun

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

---

 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>




More information about the mesa-commit mailing list