mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
remove WEBP_FORCE_ALIGNED and use memcpy() instead.
BUG=webp:297 Change-Id: I89a08debec7bb1b3f411c897260ab1bb63f77df2
This commit is contained in:
committed by
James Zern
parent
005e15b10a
commit
3884972e3f
@ -111,8 +111,7 @@ extern "C" {
|
||||
|
||||
#define WEBP_UBSAN_IGNORE_UNDEF
|
||||
#define WEBP_UBSAN_IGNORE_UNSIGNED_OVERFLOW
|
||||
#if !defined(WEBP_FORCE_ALIGNED) && defined(__clang__) && \
|
||||
defined(__has_attribute)
|
||||
#if defined(__clang__) && defined(__has_attribute)
|
||||
#if __has_attribute(no_sanitize)
|
||||
// This macro prevents the undefined behavior sanitizer from reporting
|
||||
// failures. This is only meant to silence unaligned loads on platforms that
|
||||
|
Reference in New Issue
Block a user