diff options
| -rw-r--r-- | macosx/Pcsxr-QL/MyQuickLook.h | 4 | ||||
| -rw-r--r-- | macosx/pcsxr.pch | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/macosx/Pcsxr-QL/MyQuickLook.h b/macosx/Pcsxr-QL/MyQuickLook.h index 9f1c6778..91146705 100644 --- a/macosx/Pcsxr-QL/MyQuickLook.h +++ b/macosx/Pcsxr-QL/MyQuickLook.h @@ -14,6 +14,10 @@ #include <CoreServices/CoreServices.h> #include <QuickLook/QuickLook.h> +// Apple deprecated __private_extern__ in Xcode 4.6. +// This is a convenience declaration to retain the old behavior. +#define __private_extern__ __attribute__((visibility("hidden"))) + // The thumbnail generation function to be implemented in GenerateThumbnailForURL.c __private_extern__ OSStatus GenerateThumbnailForURL(void *thisInterface, QLThumbnailRequestRef thumbnail, CFURLRef url, CFStringRef contentTypeUTI, CFDictionaryRef options, CGSize maxSize); __private_extern__ void CancelThumbnailGeneration(void* thisInterface, QLThumbnailRequestRef thumbnail); diff --git a/macosx/pcsxr.pch b/macosx/pcsxr.pch index 45a135a7..14e239c2 100644 --- a/macosx/pcsxr.pch +++ b/macosx/pcsxr.pch @@ -9,8 +9,8 @@ #ifndef Pcsxr_pcsxr_pch #define Pcsxr_pcsxr_pch -// Apple Deprecated __private_extern__ in Xcode 4.6 -// This is a convenience declaration to retain the old behavior +// Apple deprecated __private_extern__ in Xcode 4.6. +// This is a convenience declaration to retain the old behavior. #define __private_extern__ __attribute__((visibility("hidden"))) #include <sys/time.h> |
