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

Jean-Baptiste Kempf git at videolan.org
Fri Dec 2 00:24:06 CET 2011


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

MacOS: workaround bug in SDK10.5

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 8b9b52a7813e7c135bf0e5c04c159373e04b797a)

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

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=2ca08712abfe63d8a78545b918a4e17c5ff97a76
---

 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