Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sdefl.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ extern int zsdeflate(struct sdefl *s, void *o, const void *i, int n, int lvl);
#include <string.h> /* memcpy */
#include <limits.h> /* CHAR_BIT */

#ifdef _MSC_VER
#include <intrin.h> /* _BitScanReverse */
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
4 changes: 4 additions & 0 deletions sinfl.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ extern int zsinflate(void *out, int cap, const void *in, int size);
#include <string.h> /* memcpy, memset */
#include <assert.h> /* assert */

#ifdef _MSC_VER
#include <intrin.h> /* _BitScanReverse */
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down