From c8861af86a466c1e837263e58f3214aa42c902fc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Oct 2014 16:02:04 +0300 Subject: move TRANSPARENT #define from windows.h out of global namespace so it doesn't conflict with enums Change-Id: Ic4143130762d6e878d7c23276393ba09d9f86d45 Reviewed-on: https://gerrit.libreoffice.org/11880 Tested-by: LibreOffice gerrit bot Reviewed-by: Noel Grandin --- include/postwin.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/postwin.h b/include/postwin.h index 8f9be8959c25..d22052017c19 100644 --- a/include/postwin.h +++ b/include/postwin.h @@ -27,6 +27,12 @@ #undef Folder #undef GradientStyle_RECT +// so it doesn't conflict with enum values +#undef TRANSPARENT +#undef OPAQUE +#define WIN32_TRANSPARENT 1 +#define WIN32_OPAQUE 2 + #define WIN_WB_LEFT 0 #define WIN_WB_RIGHT 1 #undef WB_LEFT -- cgit