Fix the build

This commit is contained in:
Justine Tunney 2022-09-10 19:57:50 -07:00
parent 5dff63a31c
commit 3de35e196c
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 9 additions and 2 deletions

View file

@ -6,9 +6,9 @@ COSMOPOLITAN_C_START_
int bsr(int) pureconst;
int bsrl(long) pureconst;
int bsrll(long long) pureconst;
int bsr128(uint128_t) pureconst;
#if defined(__GNUC__) && defined(__x86_64__) && !defined(__STRICT_ANSI__)
int bsr128(uint128_t) pureconst;
#define bsr(u) \
({ \
unsigned BiTs; \