[master] 4ede8c3 Suns C-compiler also lives in its own island.

Poul-Henning Kamp phk at FreeBSD.org
Wed Oct 4 09:49:06 UTC 2017


commit 4ede8c33a97c823158ac0289044a9e156cc060e4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 4 09:47:44 2017 +0000

    Suns C-compiler also lives in its own island.

diff --git a/include/vdef.h b/include/vdef.h
index 7f8af5e..a202f0b 100644
--- a/include/vdef.h
+++ b/include/vdef.h
@@ -134,6 +134,9 @@
 #ifndef __has_extension
 #  define __has_extension(x)	0
 #endif
+#ifndef __GNUC_PREREQ__
+#  define __GNUC_PREREQ__(x)	0
+#endif
 #if defined(_Static_assert)
     /* Nothing, somebody already did this for us */
 #elif __has_extension(c_static_assert)


More information about the varnish-commit mailing list