Skip to content

Commit

Permalink
portability: Define lower logbits value to fix build with TinyCC (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
trufae authored Jan 26, 2023
1 parent 8bbba2d commit 92beabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbf.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stddef.h>
#include <stdint.h>

#if !defined(_MSC_VER) && INTPTR_MAX >= INT64_MAX
#if !defined(_MSC_VER) && !defined(__TINYC__) && INTPTR_MAX >= INT64_MAX
#define LIMB_LOG2_BITS 6
#else
#define LIMB_LOG2_BITS 5
Expand Down

0 comments on commit 92beabe

Please sign in to comment.