瀏覽代碼

Add compile definition to fix issue

defines MINIZ_USE_UNALIGNED_LOADS_AND_STORES to be 0 to override default of 1 for x86 platforms.
Charlie Gettys 6 年之前
父節點
當前提交
769dd42b73
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      code/CMakeLists.txt

+ 1 - 0
code/CMakeLists.txt

@@ -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} )