]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
chunk_memcpy is not needed under INFFAST_CHUNKSIZE
authorSebastian Pop <s.pop@samsung.com>
Wed, 6 Mar 2019 20:32:14 +0000 (14:32 -0600)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 21 Mar 2019 10:22:36 +0000 (11:22 +0100)
memcopy.h

index 817bb5bc3d8c27d9a73ea966dc766c9a0d9d089f..fdccba5e1db87522ec8206cde50347b86508fb5b 100644 (file)
--- a/memcopy.h
+++ b/memcopy.h
@@ -307,7 +307,7 @@ static inline unsigned char* chunkmemsetsafe(unsigned char *out, unsigned dist,
     return chunkmemset(out, dist, len);
 }
 
- #endif /* INFFAST_CHUNKSIZE */
+ #else /* INFFAST_CHUNKSIZE */
 
 static inline unsigned char *copy_1_bytes(unsigned char *out, unsigned char *from) {
     *out++ = *from;
@@ -666,4 +666,5 @@ static inline unsigned char *chunk_copy(unsigned char *out, unsigned char *from,
 
     return chunk_memcpy(out, from, len);
 }
+ #endif /* INFFAST_CHUNKSIZE */
 #endif /* MEMCOPY_H_ */