elf.h: add ELFCOMPRESS_ZSTD
[musl] / include / sys / param.h
index ddd7709..ce6b801 100644 (file)
@@ -7,7 +7,7 @@
 #define MAXPATHLEN 4096
 #define NBBY 8
 #define NGROUPS 32
-#define CANBSIZE 255
+#define CANBSIZ 255
 #define NOFILE 256
 #define NCARGS 131072
 #define DEV_BSIZE 512
@@ -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) ((x)[(i)/8] o 1<<(i)%8)
+#define __bitop(x,i,o) ((x)[(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,&)