Ticket #31712: lion_fonts.patch
File lion_fonts.patch, 1.6 KB (added by spolitov@…, 13 years ago) |
---|
-
lion_fonts.diff
old new 7 7 #endif 8 8 9 9 -#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) 10 +#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_710 +#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) 11 11 static ssize_t 12 12 getline (char **lineptr, 13 13 size_t *n, … … 16 16 * implementations. They just get the job done for our purposes. 17 17 */ 18 18 -#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) 19 +#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_719 +#if !defined (__USE_GNU) && !defined(__USE_XOPEN2K8) && (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) 20 20 #define POORMANS_GETLINE_BUFFER_SIZE (65536) 21 21 static ssize_t 22 22 getline (char **lineptr, … … 29 29 } 30 30 31 31 -#ifndef __USE_GNU 32 +#if !defined __USE_GNU && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_732 +#if !defined __USE_GNU && (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) 33 33 #define POORMANS_GETLINE_BUFFER_SIZE (65536) 34 34 static ssize_t 35 35 getline (char **lineptr, … … 42 42 } 43 43 44 44 -#ifndef __LP64__ 45 +#if !defined __LP64__ && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_745 +#if !defined __LP64__ && (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) 46 46 /* 47 47 * compat with old ATSUI backend 48 48 */