From a66a3b96c5fdd092745f52f645c0bb843d14836e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 10 Nov 2015 09:35:16 -0800 Subject: [PATCH] intprops: fix typo in clang port * lib/intprops.h (_GL_INT_OP_WRAPV): Fix misspelling of '__builtin_add_overflow' that is not caught by compiler. --- ChangeLog | 6 ++++++ lib/intprops.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b0385b7488..96fd547a57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-11-10 Paul Eggert + + intprops: fix typo in clang port + * lib/intprops.h (_GL_INT_OP_WRAPV): Fix misspelling of + '__builtin_add_overflow' that is not caught by compiler. + 2015-11-05 Paul Eggert test-timespec: fix typo in previous change diff --git a/lib/intprops.h b/lib/intprops.h index c55c4db103..5743eb42b9 100644 --- a/lib/intprops.h +++ b/lib/intprops.h @@ -354,7 +354,7 @@ /* Store A B into *R, where OP specifies the operation. BUILTIN is the builtin operation, and OVERFLOW the overflow predicate. See above for restrictions. */ -#if 5 <= __GNUC__ || __has_builtin (__builtin_add_oveflow) +#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow) # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r) #elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \ -- 2.39.5