mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 01:46:02 +00:00
Fix broken ifdef on MSVC
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 12s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 13s
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