fix linux-specific compilation errors
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef BLUELIB_MISB_H_
|
||||
#define BLUELIB_MISB_H_
|
||||
|
||||
#ifndef _Nonnull
|
||||
#define _Nonnull
|
||||
#endif
|
||||
|
||||
#define b_unbox(type, box, member) \
|
||||
((type *_Nonnull)((box) ? (uintptr_t)(box) - (offsetof(type, member)) : 0))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user