fix unaligned memory access.

pull/1598/head
Kim Kulling 2017-11-29 16:45:09 +01:00
parent fd2da59427
commit 59dcfefeb2
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -8,8 +8,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
#include "zip.h"
#include "miniz.h"