Skip to content

Commit

Permalink
Fix broken ifdef on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbarker committed Jan 11, 2025
1 parent 9e7595b commit c2c445e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions clay.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit c2c445e

Please sign in to comment.