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

Author: Jon TURNEY <jon.tur...@dronecode.org.uk>
Date:   Thu Mar  5 15:29:32 2015 +0000

c99_alloca.h: Also use <alloca.h> for cygwin

Signed-off-by: Jon TURNEY <jon.tur...@dronecode.org.uk>
Reviewed-by: Brian Paul <bri...@vmware.com>

---

 include/c99_alloca.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/c99_alloca.h b/include/c99_alloca.h
index ed66fda..5a3b8c1 100644
--- a/include/c99_alloca.h
+++ b/include/c99_alloca.h
@@ -35,7 +35,7 @@
 
 #  define alloca _alloca
 
-#elif defined(__sun)
+#elif defined(__sun) || defined(__CYGWIN__)
 
 #  include <alloca.h>
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to