c99_alloca.h: add case for __sun
authorBrian Paul <brianp@vmware.com>
Tue, 3 Mar 2015 15:09:21 +0000 (08:09 -0700)
committerBrian 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

index 575f719af87acdb97be540f03068360fc2587132..ed66fda0132ebd5a55b7610856f533ec13cfea54 100644 (file)
 
 #  define alloca _alloca
 
+#elif defined(__sun)
+
+#  include <alloca.h>
+
 #else /* !defined(_MSC_VER) */
 
 #  include <stdlib.h>