]> Savannah Git Hosting - gnulib.git/commitdiff
intprops: fix typo in clang port
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Nov 2015 17:35:16 +0000 (09:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 10 Nov 2015 17:35:35 +0000 (09:35 -0800)
* lib/intprops.h (_GL_INT_OP_WRAPV): Fix misspelling of
'__builtin_add_overflow' that is not caught by compiler.

ChangeLog
lib/intprops.h

index b0385b74882eaacacef467b674ce609cd5bfbcd7..96fd547a5747c13026e1dff586e5cbff0c9a2d23 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       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  <eggert@cs.ucla.edu>
 
        test-timespec: fix typo in previous change
index c55c4db1034982c2077a6d050cc270615fe56b52..5743eb42b9323273ccd208402948875820980229 100644 (file)
 /* Store A <op> 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) \