diff options
Diffstat (limited to 'lib/verify.h')
-rw-r--r-- | lib/verify.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/verify.h b/lib/verify.h index dcaf7ca..dcba9c8 100644 --- a/lib/verify.h +++ b/lib/verify.h @@ -248,7 +248,12 @@ template <int w> /* Verify requirement R at compile-time, as a declaration without a trailing ';'. */ -#define verify(R) _GL_VERIFY (R, "verify (" #R ")") +#ifdef __GNUC__ +# define verify(R) _GL_VERIFY (R, "verify (" #R ")") +#else +/* PGI barfs if R is long. Play it safe. */ +# define verify(R) _GL_VERIFY (R, "verify (...)") +#endif #ifndef __has_builtin # define __has_builtin(x) 0 |