mirror of /home/gitosis/repositories/libowfat.git
add compiletimeassert.h
parent
74a13126d5
commit
830241e86d
@ -0,0 +1,4 @@
|
||||
|
||||
#define __X(x, y) x ## y
|
||||
#define __Y(x, y) __X(x, y)
|
||||
#define compiletimeassert(cond) struct __Y(foo,__LINE__) { char __temp[1 - (!(cond))*2]; };
|
Loading…
Reference in New Issue