aboutsummaryrefslogtreecommitdiffstats
path: root/include/c99_alloca.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-03 08:09:21 -0700
committerBrian Paul <[email protected]>2015-03-03 08:40:13 -0700
commit5ece2888769c2886b181d228ad447a8bca2ddee0 (patch)
tree47363a8bfe615ce9d6dde634a254d6fec5e0d675 /include/c99_alloca.h
parent80c5bd7ef0319d14cd0362a763d9d15e9ba2c946 (diff)
c99_alloca.h: add case for __sun
Reviewed-by: Alan Coopersmith <[email protected]>
Diffstat (limited to 'include/c99_alloca.h')
-rw-r--r--include/c99_alloca.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/c99_alloca.h b/include/c99_alloca.h
index 575f719af87..ed66fda0132 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>