make the bitstream generate only 0-value bits after an overflow

This commit is contained in:
Yann Collet
2023-06-14 15:42:37 -07:00
parent bd00ec6804
commit ba50807029
5 changed files with 57 additions and 56 deletions
-9
View File
@@ -227,15 +227,6 @@ extern "C" {
# include <stdlib.h> /* _byteswap_ulong */
# include <intrin.h> /* _byteswap_* */
#endif
#if defined(__GNUC__)
# define MEM_STATIC static __attribute__((unused))
#elif defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */)
# define MEM_STATIC static inline
#elif defined(_MSC_VER)
# define MEM_STATIC static __inline
#else
# define MEM_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */
#endif
/*-**************************************************************