mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 19:55:38 +00:00
fix typo in sys/param.h that broke setbit, etc. macros
this is all junk, but some programs use it.
This commit is contained in:
parent
37bb3cce45
commit
e0ff0d34dc
@ -18,7 +18,7 @@
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
|
||||
#define ___bitop(x,i,o) ((a)[(i)/8] o 1<<(i)%8)
|
||||
#define __bitop(x,i,o) ((a)[(i)/8] o 1<<(i)%8)
|
||||
#define setbit(x,i) __bitop(x,i,|=)
|
||||
#define clrbit(x,i) __bitop(x,i,&=~)
|
||||
#define isset(x,i) __bitop(x,i,&)
|
||||
|
Loading…
Reference in New Issue
Block a user