[vlc-commits] MacOS: workaround bug in SDK10.5

Jean-Baptiste Kempf git at videolan.org
Wed Nov 30 19:51:31 CET 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Nov 30 18:37:06 2011 +0100| [8b9b52a7813e7c135bf0e5c04c159373e04b797a] | committer: Jean-Baptiste Kempf

MacOS: workaround bug in SDK10.5

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b9b52a7813e7c135bf0e5c04c159373e04b797a
---

 modules/gui/macosx/CompatibilityFixes.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/CompatibilityFixes.h b/modules/gui/macosx/CompatibilityFixes.h
index d43d185..980978d 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -57,6 +57,10 @@ enum {
     NSApplicationPresentationDisableMenuBarTransparency = (1 <<  9)
 };
 
+#if defined( __LP64__) && !defined(__POWER__) /* Bug in the 10.5.sdk in 64bits */
+extern OSErr UpdateSystemActivity(UInt8 activity);
+#define UsrActivity 1
+#endif
 #endif
 
 #pragma mark -



More information about the vlc-commits mailing list