windows: undef RELATIVE and ABSOLUTE

This commit is contained in:
Danny Robson 2019-11-18 16:43:59 +11:00
parent 7dabd12253
commit d7f9b12f82

View File

@ -47,7 +47,7 @@
#include <processthreadsapi.h>
#include <errhandlingapi.h>
// GDI isn't used in many locations but it's easier to include it hear and
// GDI isn't used in many locations but it's easier to include it here and
// undefine various pieces of trash than let unsuspecting code get trampled
// later.
#include <wingdi.h>
@ -57,6 +57,9 @@
#undef NEAR
#undef FAR
#undef RELATIVE
#undef ABSOLUTE
#undef ERROR
#undef TRANSPARENT