From 394c705100366ecea5518ce9cfa0330d495f41b3 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 22 May 2017 06:20:04 +0300 Subject: Update some support files from GNULIB. --- support/verify.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'support/verify.h') diff --git a/support/verify.h b/support/verify.h index 5c8381d2..dcba9c8c 100644 --- a/support/verify.h +++ b/support/verify.h @@ -1,6 +1,6 @@ /* Compile-time assert-like macros. - Copyright (C) 2005-2006, 2009-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2006, 2009-2017 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -248,7 +248,12 @@ template /* 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 -- cgit v1.2.3