[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fixed tests build on EDG-based compilers
From: |
Michael Shigorin |
Subject: |
[PATCH] Fixed tests build on EDG-based compilers |
Date: |
Tue, 2 Nov 2021 13:47:26 +0300 |
From: Ilya Kurdyukov <ilyakurdyukov@altlinux.org>
---
tests/test-intprops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-intprops.c b/tests/test-intprops.c
index fff421874..08f9a397f 100644
--- a/tests/test-intprops.c
+++ b/tests/test-intprops.c
@@ -48,7 +48,7 @@
These tests should be checkable via 'verify' rather than 'ASSERT', but
using 'verify' would run into a bug with HP-UX 11.23 cc; see
<https://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>. */
-#if __GNUC__ || __clang__ || __SUNPRO_C
+#if (__GNUC__ || __clang__ || __SUNPRO_C) && !defined(__EDG__)
# define VERIFY(x) verify_stmt (x)
#else
# define VERIFY(x) ASSERT (x)
--
2.29.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Fixed tests build on EDG-based compilers,
Michael Shigorin <=