aboutsummaryrefslogtreecommitdiffstats
path: root/lib/verify.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/verify.h')
-rw-r--r--lib/verify.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/verify.h b/lib/verify.h
index dcaf7cab938..dcba9c8cb0a 100644
--- a/lib/verify.h
+++ b/lib/verify.h
@@ -248,7 +248,12 @@ template <int w>
248/* Verify requirement R at compile-time, as a declaration without a 248/* Verify requirement R at compile-time, as a declaration without a
249 trailing ';'. */ 249 trailing ';'. */
250 250
251#define verify(R) _GL_VERIFY (R, "verify (" #R ")") 251#ifdef __GNUC__
252# define verify(R) _GL_VERIFY (R, "verify (" #R ")")
253#else
254/* PGI barfs if R is long. Play it safe. */
255# define verify(R) _GL_VERIFY (R, "verify (...)")
256#endif
252 257
253#ifndef __has_builtin 258#ifndef __has_builtin
254# define __has_builtin(x) 0 259# define __has_builtin(x) 0