diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-04-12 21:55:37 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-04-12 21:55:37 +0000 |
| commit | bc2deb45ebf01e79bbe3cc713b52f99851d14eed (patch) | |
| tree | bee5a432552e7b365e5dd1b33166451c7428e28a | |
| parent | 38a6f1b550cf4a6abec11035b5815a695c197317 (diff) | |
| download | pcsxr-bc2deb45ebf01e79bbe3cc713b52f99851d14eed.tar.gz | |
OS X: Comment additions/changes.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@89907 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -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> |
