From e4f10cb0e12e7965df5e469cc22e6893044cabc3 Mon Sep 17 00:00:00 2001 From: Richard PALO Date: Fri, 17 Apr 2015 08:34:40 +0200 Subject: [PATCH] Avoid redefine of TRANSPARENT on solaris after including stream.h Change-Id: I90611a4855320148f1d4b6e61a420ada47308c28 Reviewed-by: Michael Stahl --- include/vcl/window.hxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index d942003ff244..80ec0c79e007 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -231,6 +231,9 @@ template class VclPtr; #define AUTOSCROLL_VERT ((sal_uInt16)0x0001) #define AUTOSCROLL_HORZ ((sal_uInt16)0x0002) +#ifdef TRANSPARENT +#undef TRANSPARENT +#endif // Flags for StateChanged() enum class StateChangedType : sal_uInt16 {