Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8859b6e

Browse files
authored
Merge pull request #60 from livecode/cairo-update-fixes
Fix build broken-ness in the Cairo update
2 parents 78cff97 + 4bac424 commit 8859b6e

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

libcairo/libcairo.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
'src/pixman-implementation.c',
417417
'src/pixman-linear-gradient.c',
418418
'src/pixman-matrix.c',
419-
'src/pixman-mips-dspr2.c',
419+
#'src/pixman-mips-dspr2.c',
420420
'src/pixman-mips.c',
421421
'src/pixman-mmx.c',
422422
'src/pixman-noop.c',
@@ -431,7 +431,7 @@
431431
'src/pixman-timer.c',
432432
'src/pixman-trap.c',
433433
'src/pixman-utils.c',
434-
'src/pixman-vmx.c',
434+
#'src/pixman-vmx.c',
435435
'src/pixman-x86.c',
436436
'src/pixman.c',
437437

libcairo/src/cairo-quartz.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,15 @@
4040

4141
#if CAIRO_HAS_QUARTZ_SURFACE
4242

43-
#include <ApplicationServices/ApplicationServices.h>
43+
#include <TargetConditionals.h>
44+
45+
#if TARGET_OS_IPHONE
46+
# include <CoreGraphics/CoreGraphics.h>
47+
# include <CoreText/CoreText.h>
48+
# define ATSUFontID uint32_t
49+
#else
50+
# include <ApplicationServices/ApplicationServices.h>
51+
#endif
4452

4553
CAIRO_BEGIN_DECLS
4654

0 commit comments

Comments
 (0)