summaryrefslogtreecommitdiff
path: root/tests/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cdefs.h')
-rw-r--r--tests/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cdefs.h b/tests/cdefs.h
index d38382ad..9c49eeb4 100644
--- a/tests/cdefs.h
+++ b/tests/cdefs.h
@@ -83,7 +83,7 @@
# define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct
# define __NTHNL(fct) __attribute__ ((__nothrow__)) fct
# else
-# if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major >= 4)
+# if defined __cplusplus && (__GNUC_PREREQ (2,8) || __clang_major__ >= 4)
# if __cplusplus >= 201103L
# define __THROW noexcept (true)
# else