From: Paul Eggert Date: Tue, 10 Nov 2015 17:35:16 +0000 (-0800) Subject: intprops: fix typo in clang port X-Git-Tag: v1.0~6896 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a66a3b96c5fdd092745f52f645c0bb843d14836e;p=gnulib.git 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. --- 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) \