Add compile definition to fix issue

defines MINIZ_USE_UNALIGNED_LOADS_AND_STORES to be 0 to override default of 1 for x86 platforms.
pull/2389/head
Charlie Gettys 2019-03-27 11:29:40 -04:00 committed by GitHub
parent ab92f50fa8
commit 769dd42b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -865,6 +865,7 @@ SET( ziplib_SRCS
../contrib/zip/src/zip.c
../contrib/zip/src/zip.h
)
add_compile_definitions(MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0)
SOURCE_GROUP( ziplib FILES ${ziplib_SRCS} )