More instances of memcpy instead of cast and use memcpy per default

This commit is contained in:
Martin
2018-10-27 17:14:33 +02:00
parent 91fa285a27
commit 53bfef515c
3 changed files with 21 additions and 2 deletions

View File

@@ -173,6 +173,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_UNALIGNED_USE_MEMCPY
#else
#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0
#endif