Skip to content

Commit

Permalink
fix bad ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
nicbarker committed Sep 28, 2024
1 parent e9e5500 commit a790e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clay.h
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ extern uint32_t Clay__debugViewWidth;
#ifdef __cplusplus
#define CLAY__ALIGNMENT(type) alignof(type)
#define CLAY__INIT(type) type
#elif
#else
#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

bool Clay__warningsEnabled = true;
Expand Down

0 comments on commit a790e21

Please sign in to comment.