diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-10-10 11:55:14 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:55 +0100 |
commit | 8077f57f39d4d679dc387669dc783f17fc40000c (patch) | |
tree | d3ac5ff7f8b9c87888d0f506bc32dc4134d6c902 /vcl | |
parent | e8b967a09003c365c445695a6e3d9c39d048537b (diff) |
generic: overcome Mac specific build errors
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/sysdata.hxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index 9e5e2c6e355b..cdae6506248f 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -109,7 +109,7 @@ static String getPdfDir( const PrinterInfo& rInfo ) static void getPaLib() { -#if defined( UNX ) +#if defined( UNX ) && !( defined( QUARTZ ) || defined( IOS ) ) if( ! driverLib ) { OUString aLibName( RTL_CONSTASCII_USTRINGPARAM( _XSALSET_LIBNAME ) ); diff --git a/vcl/inc/vcl/sysdata.hxx b/vcl/inc/vcl/sysdata.hxx index 2e0061845348..b97e8540f976 100644 --- a/vcl/inc/vcl/sysdata.hxx +++ b/vcl/inc/vcl/sysdata.hxx @@ -147,6 +147,7 @@ struct SystemGraphicsData : nSize( sizeof( SystemGraphicsData ) ) #if defined( WNT ) , hDC( 0 ) +#elif defined( QUARTZ ) || defined( IOS ) #elif defined( UNX ) , pDisplay( NULL ) , hDrawable( 0 ) |