mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 05:08:04 +00:00
fix bad ifdef
This commit is contained in:
parent
e9e5500077
commit
a790e21d4e
4
clay.h
4
clay.h
@ -455,9 +455,9 @@ extern uint32_t Clay__debugViewWidth;
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define CLAY__ALIGNMENT(type) alignof(type)
|
#define CLAY__ALIGNMENT(type) alignof(type)
|
||||||
#define CLAY__INIT(type) type
|
#define CLAY__INIT(type) type
|
||||||
#elif
|
#else
|
||||||
#define CLAY__INIT(type) (type)
|
#define CLAY__INIT(type) (type)
|
||||||
#define CLAY__ALIGNMENT(type) (offsetof(struct { char c; type x; } a, a.x))
|
#define CLAY__ALIGNMENT(type) (offsetof(struct { char c; type x; }, x))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool Clay__warningsEnabled = true;
|
bool Clay__warningsEnabled = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user