fix wingdi define clobbering our enum

This commit is contained in:
Dagen Brock 2019-08-16 20:20:47 -05:00
parent 89bc756deb
commit 86141fc269
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View File

@ -26,6 +26,9 @@ screens/
# Builds dir
build/
# Gitlab CI Builds dir
builds/
# build tools that are often kept/tested locally as well as on the ci machines
yoursway-create-dmg/

View File

@ -93,6 +93,7 @@ static char *get_resource_path(const char *leaf) {
#elif defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef RELATIVE /* Go fuck your self wingdi */
/* todo -- something clever like find the home directory */
static char *get_resource_path(const char *leaf) {
DWORD size;