fix unaligned memory access.
parent
fd2da59427
commit
59dcfefeb2
|
@ -212,7 +212,7 @@
|
|||
|
||||
#if MINIZ_X86_OR_X64_CPU
|
||||
// Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES to 1 on CPU's that permit efficient integer loads and stores from unaligned addresses.
|
||||
#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 1
|
||||
#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
|
||||
#endif
|
||||
|
||||
#if defined(_M_X64) || defined(_WIN64) || defined(__MINGW64__) || defined(_LP64) || defined(__LP64__) || defined(__ia64__) || defined(__x86_64__)
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
|
||||
|
||||
#include "zip.h"
|
||||
#include "miniz.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue