mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-26 22:28:04 +00:00
Fix broken ifdef on MSVC
This commit is contained in:
parent
9e7595b873
commit
c2c445e455
5
clay.h
5
clay.h
@ -399,7 +399,7 @@ CLAY__TYPEDEF(Clay_Border, struct {
|
||||
Clay_Color color;
|
||||
});
|
||||
|
||||
CLAY__TYPEDEF(Clay_BorderElementConfig, struct {
|
||||
struct Clay_BorderElementConfig {
|
||||
Clay_Border left;
|
||||
Clay_Border right;
|
||||
Clay_Border top;
|
||||
@ -409,7 +409,8 @@ CLAY__TYPEDEF(Clay_BorderElementConfig, struct {
|
||||
#ifdef CLAY_EXTEND_CONFIG_BORDER
|
||||
CLAY_EXTEND_CONFIG_BORDER
|
||||
#endif
|
||||
});
|
||||
};
|
||||
CLAY__TYPEDEF(Clay_BorderElementConfig, struct Clay_BorderElementConfig);
|
||||
|
||||
CLAY__TYPEDEF(Clay_ElementConfigUnion, union {
|
||||
Clay_RectangleElementConfig *rectangleElementConfig;
|
||||
|
Loading…
Reference in New Issue
Block a user