diff options
| author | Sergey Fedorov <vital.had@gmail.com> | 2023-07-28 12:11:45 +0800 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-08-09 21:07:01 +0200 |
| commit | 356ccc4b708f67efcd5494d18589e6ff54afb2cf (patch) | |
| tree | 00ba7817d5b6e68c86a38b90d29f5d9d1261c16a /src | |
| parent | 1943fe54c8fdf759a3f4da88ea8a8fb5f6f5f7cb (diff) | |
Fl_cocoa.mm: fix Apple macro for PPC case
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 8aef33780..579bbc56e 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -92,8 +92,8 @@ static BOOL through_drawRect = NO; static BOOL through_Fl_X_flush = NO; static BOOL views_use_CA = NO; // YES means views are layer-backed, as on macOS 10.14 when linked with SDK 10.14 static int im_enabled = -1; -// OS version-dependent pasteboard type names -#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6 +// OS version-dependent pasteboard type names. PPC still supported on 10.6 but lacks some 10.6 features. +#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6) || defined(__POWERPC__) #define NSPasteboardTypeTIFF @"public.tiff" #define NSPasteboardTypePDF @"com.adobe.pdf" #define NSPasteboardTypeString @"public.utf8-plain-text" |
