+2021-12-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ maint: fix __clang_major__ misspellings
+ The intprops.h typo fix should fix a bug in Emacs on Debian testing
+ with clang <https://bugs.gnu.org/52711>.
+ * lib/asyncsafe-spin.c, lib/intprops.h, lib/pthread-spin.c:
+ Fix some misspellings of ‘__clang_major__’.
+ I left one misspelling alone, in lib/cdefs.h,
+ and instead reported that bug upstream here:
+ https://sourceware.org/pipermail/libc-alpha/2021-December/134512.html
+
2021-12-21 Bruno Haible <bruno@clisp.org>
get_ppid_of, get_progname_of: Fix runtime error on Mac OS X < 10.5.
require to link with -latomic. */
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) \
- || __clang_major > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1)) \
+ || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1)) \
&& !defined __ibmxl__
/* Use GCC built-ins (available in GCC >= 4.7 and clang >= 3.1) that operate on
the first byte of the lock.
#endif
/* True if __builtin_mul_overflow (A, B, P) works when P is non-null. */
-#if defined __clang_major_ && __clang_major__ < 14
+#if defined __clang_major__ && __clang_major__ < 14
/* Work around Clang bug <https://bugs.llvm.org/show_bug.cgi?id=16404>. */
# define _GL_HAS_BUILTIN_MUL_OVERFLOW 0
#else
require to link with -latomic. */
# if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7) \
- || __clang_major > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1)) \
+ || __clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 1)) \
&& !defined __ibmxl__
/* Use GCC built-ins (available in GCC >= 4.7 and clang >= 3.1) that operate on
the first byte of the lock.