projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c5bd7
)
c99_alloca.h: add case for __sun
author
Brian Paul
<brianp@vmware.com>
Tue, 3 Mar 2015 15:09:21 +0000
(08:09 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 Mar 2015 15:40:13 +0000
(08:40 -0700)
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
include/c99_alloca.h
patch
|
blob
|
history
diff --git
a/include/c99_alloca.h
b/include/c99_alloca.h
index 575f719af87acdb97be540f03068360fc2587132..ed66fda0132ebd5a55b7610856f533ec13cfea54 100644
(file)
--- 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>