summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-07 08:38:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-10 07:03:31 +0000
commitb8ecfd83bac98ea58a435c59856da8fd94f5c6d9 (patch)
tree8e5ebeceaec301a6aefcb017169794b6cff4a132 /bin
parent7b69dd64be71d1420158a553fb5ec861039cb017 (diff)
Undef RGB where it was defined, not where it gets used
Change-Id: I274958964292f78c802748e17fca7f265ae5a4b8 Reviewed-on: https://gerrit.libreoffice.org/20429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update_pch1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/update_pch b/bin/update_pch
index 47c2d15a4644..a21b0692b6d1 100755
--- a/bin/update_pch
+++ b/bin/update_pch
@@ -762,6 +762,7 @@ def generate(includes, libname, filename, module):
// Cleanup windows header macro pollution.
#ifdef WNT
# include <postwin.h>
+# undef RGB
#endif
"""
f.write(ado_define)