diff options
Diffstat (limited to 'canvas/source/directx/dx_winstuff.hxx')
-rw-r--r-- | canvas/source/directx/dx_winstuff.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx index ef43cbe742f2..e5133de1b8e2 100644 --- a/canvas/source/directx/dx_winstuff.hxx +++ b/canvas/source/directx/dx_winstuff.hxx @@ -66,7 +66,7 @@ #undef WB_RIGHT #define WIN32_LEAN_AND_MEAN -#include <tools/prewin.h> +#include <windows.h> // TODO(Q1): extract minimal set of required headers for gdiplus #if DIRECTX_VERSION < 0x0900 @@ -107,8 +107,6 @@ using ::std::min; #include <gdiplus.h> -#include <tools/postwin.h> - #ifdef min # undef min #endif @@ -218,6 +216,12 @@ namespace dxcanvas #pragma warning(pop) #endif +#undef DELETE +#undef BOOL +#undef INT32 +#undef UINT32 +#undef PolyPolygon + #endif /* _DXCANVAS_WINSTUFF_HXX */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |