diff --git a/perf/cairo-perf-report.c perf/cairo-perf-report.c
index 8ab8090..a3d8bdb 100644
a/
|
|
|
49 | 49 | typedef ptrdiff_t ssize_t; |
50 | 50 | #endif |
51 | 51 | |
52 | | #if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) |
| 52 | #if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
53 | 53 | static ssize_t |
54 | 54 | getline (char **lineptr, |
55 | 55 | size_t *n, |
… |
… |
test_report_parse (test_report_t *report, |
234 | 234 | * as needed. These aren't necessary full-fledged general purpose |
235 | 235 | * implementations. They just get the job done for our purposes. |
236 | 236 | */ |
237 | | #if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) |
| 237 | #if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
238 | 238 | #define POORMANS_GETLINE_BUFFER_SIZE (65536) |
239 | 239 | static ssize_t |
240 | 240 | getline (char **lineptr, |
diff --git a/perf/cairo-perf-trace.c b/perf/cairo-perf-trace.c
index ff22882..b3a4679 100644
a/
|
|
usage (const char *argv0) |
527 | 527 | argv0, argv0); |
528 | 528 | } |
529 | 529 | |
530 | | #ifndef __USE_GNU |
| 530 | #if !defined __USE_GNU && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
531 | 531 | #define POORMANS_GETLINE_BUFFER_SIZE (65536) |
532 | 532 | static ssize_t |
533 | 533 | getline (char **lineptr, |
diff --git a/src/cairo-quartz-font.c b/src/cairo-quartz-font.c
index f529fc9..1e57c39 100644
a/
|
|
_cairo_quartz_scaled_font_get_cg_font_ref (cairo_scaled_font_t *abstract_font) |
802 | 802 | return ffont->cgFont; |
803 | 803 | } |
804 | 804 | |
805 | | #ifndef __LP64__ |
| 805 | #if !defined __LP64__ && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7 |
806 | 806 | /* |
807 | 807 | * compat with old ATSUI backend |
808 | 808 | */ |