Skip to content

MediaAccessibility macOS xcode13.0 beta1

Sebastien Pouliot edited this page Jun 7, 2021 · 3 revisions

#MediaAccessibility.framework

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MADefinitions.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MADefinitions.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MADefinitions.h	2021-03-16 04:44:15.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MADefinitions.h	2021-05-22 04:47:56.000000000 -0400
@@ -5,7 +5,9 @@
 #include <AvailabilityMacros.h>
 #include <TargetConditionals.h>
 
-
+#if TARGET_OS_WIN32
+#include <MediaAccessibility/MADefinitionsWindows.h>
+#endif
 
 #if defined(__cplusplus)
 #define MA_EXTERN_C_BEGIN extern "C" {
@@ -15,9 +17,15 @@
 #define MA_EXTERN_C_END
 #endif
 
-
+#if TARGET_OS_WIN32
+#if defined(BUILDING_MA)
+#define MA_VISIBLE __declspec(dllexport)
+#else
+#define MA_VISIBLE __declspec(dllimport)
+#endif
+#else
 #define MA_VISIBLE __attribute__((visibility("default")))
-
+#endif
 
 #if defined(__cplusplus)
 #define MA_EXTERN extern "C"
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h	2021-03-16 04:44:15.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MediaAccessibility.framework/Headers/MediaAccessibility.h	2021-05-22 04:47:56.000000000 -0400
@@ -2,7 +2,6 @@
 #define MediaAccessibility_MediaAccessibility_h
 
 #include <CoreFoundation/CoreFoundation.h>
-#include <QuartzCore/QuartzCore.h>
 
 #include <MediaAccessibility/MADefinitions.h>
 #include <MediaAccessibility/MACaptionAppearance.h>
Clone this wiki locally