[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] intprops: fix typo in clang port
From: |
Paul Eggert |
Subject: |
[PATCH] intprops: fix typo in clang port |
Date: |
Tue, 10 Nov 2015 09:35:53 -0800 |
* 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 b0385b7..96fd547 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-11-10 Paul Eggert <address@hidden>
+
+ 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 <address@hidden>
test-timespec: fix typo in previous change
diff --git a/lib/intprops.h b/lib/intprops.h
index c55c4db..5743eb4 100644
--- a/lib/intprops.h
+++ b/lib/intprops.h
@@ -354,7 +354,7 @@
/* 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) \
--
2.1.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] intprops: fix typo in clang port,
Paul Eggert <=