From: Sebastian Pop Date: Wed, 6 Mar 2019 20:32:14 +0000 (-0600) Subject: chunk_memcpy is not needed under INFFAST_CHUNKSIZE X-Git-Tag: 1.9.9-b1~504 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af220f3804b57fa3045666d14e8ace6944b20384;p=thirdparty%2Fzlib-ng.git chunk_memcpy is not needed under INFFAST_CHUNKSIZE --- diff --git a/memcopy.h b/memcopy.h index 817bb5bc3..fdccba5e1 100644 --- 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_ */