[master] 89acac8 But then again...
Poul-Henning Kamp
phk at FreeBSD.org
Wed Oct 4 10:24:05 UTC 2017
commit 89acac8f1c6f7b28cc5750bee81b506f04cdd74e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Oct 4 10:23:36 2017 +0000
But then again...
diff --git a/include/vdef.h b/include/vdef.h
index 0a23407..efb23fb 100644
--- a/include/vdef.h
+++ b/include/vdef.h
@@ -59,18 +59,18 @@
*(fdp) = -1; \
} while (0)
-#ifndef __GNUC_PREREQ
+#ifndef __GNUC_PREREQ__
# if defined __GNUC__ && defined __GNUC_MINOR__
-# define __GNUC_PREREQ(maj, min) \
+# define __GNUC_PREREQ__(maj, min) \
(__GNUC__ > (maj) || (__GNUC__ == (maj) && __GNUC_MINOR__ >= (min)))
# else
-# define __GNUC_PREREQ(maj, min) 0
+# define __GNUC_PREREQ__(maj, min) 0
# endif
#endif
#ifdef __printflike
# define __v_printflike(f,a) __printflike(f,a)
-#elif __GNUC_PREREQ(2, 95) || defined(__INTEL_COMPILER)
+#elif __GNUC_PREREQ__(2, 95) || defined(__INTEL_COMPILER)
# define __v_printflike(f,a) __attribute__((format(printf, f, a)))
#else
# define __v_printflike(f,a)
More information about the varnish-commit
mailing list