Add deprecated stubs for _bsf / _bsr

This commit is contained in:
Justine Tunney 2024-03-05 09:45:51 -08:00
parent 8bfd56b59e
commit bb92347158
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,11 @@ libcesque int bsfll(long long) pureconst;
#define bsfll(x) __builtin_ctzll(x)
#endif
/* deprecated */
#define _bsf(x) bsf(x)
#define _bsfl(x) bsfl(x)
#define _bsfll(x) bsfll(x)
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_NEXGEN32E_BSF_H_ */
#endif /* _COSMO_SOURCE */