commit | f826a37b95a80ad5ec668f92f65e785f0fa24edd | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jul 13 09:35:15 2017 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jul 13 09:35:15 2017 -0700 |
tree | 664169de1587e87efd308aa6449db87e661ce080 | |
parent | 3537331942cdebab5ab53104b852c997a9bc0be5 [diff] |
Apply recent strto* fix, add new tests. The behavior with "0xy" was wrong: we'd swallow the 'x'. Bug: N/A Test: ran tests Change-Id: I2464d22a2408e99880303876306f18a25c390ad9
diff --git a/libc/upstream-openbsd/android/include/openbsd-compat.h b/libc/upstream-openbsd/android/include/openbsd-compat.h index 9b16da7..baf5057 100644 --- a/libc/upstream-openbsd/android/include/openbsd-compat.h +++ b/libc/upstream-openbsd/android/include/openbsd-compat.h
@@ -40,6 +40,7 @@ /* Ignore all DEF_STRONG/DEF_WEAK in OpenBSD. */ #define DEF_STRONG(sym) #define DEF_WEAK(sym) +#define __weak_alias __strong_alias /* Ignore all __warn_references in OpenBSD. */ #define __warn_references(sym,msg)