summaryrefslogtreecommitdiff
path: root/include/postwin.h
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-09 16:02:04 +0300
committerNoel Grandin <noelgrandin@gmail.com>2014-10-10 06:12:29 +0000
commitc8861af86a466c1e837263e58f3214aa42c902fc (patch)
tree5663462c0e7ed775382f346e157f55e37930030d /include/postwin.h
parentdea50a9c463b4699c15f02363e49e7baf7388c80 (diff)
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 <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/postwin.h')
-rw-r--r--include/postwin.h6
1 files changed, 6 insertions, 0 deletions
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