about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-12-21 14:13:29 -0800
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-27 08:18:24 -0300
commit7999b8a3aa76eae4f75b76fd6797e832274b8114 (patch)
treebe6bebc9546128624888ba60b6ad817f155d158a
parent79ea63f0053904401021178d55dd4c364eeec131 (diff)
downloadglibc-7999b8a3aa76eae4f75b76fd6797e832274b8114.tar.gz
glibc-7999b8a3aa76eae4f75b76fd6797e832274b8114.tar.xz
glibc-7999b8a3aa76eae4f75b76fd6797e832274b8114.zip
cdefs.h: fix "__clang_major" typo
* misc/sys/cdefs.h: Fix misspelling of "__clang_major__".
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
-rw-r--r--misc/sys/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index c37a3ff637..23ec0ebd2a 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -81,7 +81,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