rxi / microui

A tiny immediate-mode UI library
MIT License
3.49k stars 244 forks source link

Compile Error on Windows #1

Closed CaptainKraft closed 6 years ago

CaptainKraft commented 6 years ago

When trying to compile this on Windows, I got a syntax error that seems to be due to the enum RELATIVE. I changed RELATIVE to LAYOUT_RELATIVE, and the error disappears.

rxi commented 6 years ago

Is this when using MSVC? Would you be able to make a pull request with the above mentioned change (as well as changing ABSOLUTE for consistency) and check it compiles without issue? Thanks!

CaptainKraft commented 6 years ago

Will do.