summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-12 16:55:14 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-12 18:29:50 +0300
commitc3ba72ea48ad95b8295f4b71d0dd6c37d539dcb1 (patch)
tree90384a26f8ead1950ec6d1cf2a3643ce01e8c65a /canvas
parent6a3bb7c1292e393711c8cd542e061d5d4add49db (diff)
What we actually want to check here is HAVE_FEATURE_X11
Change-Id: Id3f695f4b8dce4ace558c6d791488e8b6efd1c54
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_devicehelper.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/canvas/source/cairo/cairo_devicehelper.cxx b/canvas/source/cairo/cairo_devicehelper.cxx
index 3973836e797c..42d4d8924fd4 100644
--- a/canvas/source/cairo/cairo_devicehelper.cxx
+++ b/canvas/source/cairo/cairo_devicehelper.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
#include <canvas/debug.hxx>
#include <canvas/verbosetrace.hxx>
@@ -91,7 +92,7 @@ namespace cairocanvas
OutputDevice* pOutDev=getOutputDevice();
-#if defined (UNX) && !defined (MACOSX)
+#if HAVE_FEATURE_X11
// X11 only
if( mpSurface )
mpSurface->Resize( rSize.getX() + pOutDev->GetOutOffXPixel(),