don't use reserved identifier pattern in stringify()
This commit is contained in:
parent
85688d1c1a
commit
b885e0e03a
|
@ -37,8 +37,8 @@ typedef unsigned long ulong;
|
||||||
|
|
||||||
#define as(ar) (sizeof(ar)/sizeof(ar[0]))
|
#define as(ar) (sizeof(ar)/sizeof(ar[0]))
|
||||||
|
|
||||||
#define __stringify(x) #x
|
#define stringify__(x) #x
|
||||||
#define stringify(x) __stringify(x)
|
#define stringify(x) stringify__(x)
|
||||||
|
|
||||||
#define shifted_bit(in, from, to) \
|
#define shifted_bit(in, from, to) \
|
||||||
(((uint)(in) / (from > to ? from / to : 1) * (to > from ? to / from : 1)) & to)
|
(((uint)(in) / (from > to ? from / to : 1) * (to > from ? to / from : 1)) & to)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user