summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
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(),