diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-09 12:12:02 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-04-09 12:12:02 -0500 |
commit | b2aced2dda51008b2c538711ee65c6443be2e9b1 (patch) | |
tree | 219016a970f6255225f38849ee3d184764e9f013 /vcl | |
parent | tweak the height value in testDmlRectangleResize once again to pass on Mac (diff) | |
download | core-b2aced2dda51008b2c538711ee65c6443be2e9b1.tar.gz core-b2aced2dda51008b2c538711ee65c6443be2e9b1.zip |
coretext: what to include is SDK dependant
Change-Id: Ie3cfd1427dfe668c4cf682efa1f728dea764d277
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/CTRunData.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/quartz/CTRunData.cxx b/vcl/quartz/CTRunData.cxx index 609449bddbd9..2406a5d4129d 100644 --- a/vcl/quartz/CTRunData.cxx +++ b/vcl/quartz/CTRunData.cxx @@ -11,8 +11,12 @@ #include <cassert> #include "premac.h" +#if defined(MACOSX) && MACOSX_SDK_VERSION < 1080 +#include <ApplicationServices/ApplicationServices.h> +#else #include <CoreGraphics/CoreGraphics.h> #include <CoreText/CoreText.h> +#endif #include "postmac.h" #include "CTRunData.hxx" |