diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-25 15:10:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-25 15:29:51 +0100 |
commit | b51fe01f7c8853c353401001bdd417b9ed27fb87 (patch) | |
tree | 4c8b0dd5b28f9ee875c11a2812266e85205392ef /vcl/headless/svpgdi.cxx | |
parent | a0ded09c55f944f57201651032eed5dcf7e22e48 (diff) |
WaE: error: 'CAIRO_VERSION' is not defined
Change-Id: I9e4f0d0af541226089a6295962a91ca09debb418
Diffstat (limited to 'vcl/headless/svpgdi.cxx')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index f5dbaf4dd62e..d29a956ecaf4 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -141,7 +141,7 @@ bool SvpSalGraphics::drawAlphaRect(long nX, long nY, long nWidth, long nHeight, #if !ENABLE_CAIRO_CANVAS (void)nX; (void)nY; (void)nWidth; (void)nHeight; (void)nTransparency; return false; -#elif CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0) +#elif defined(CAIRO_VERSION) && defined(CAIRO_VERSION_ENCODE) && CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 6, 0) if (m_bUseLineColor || !m_bUseFillColor) return false; |