[vlc-commits] macosx: fixed compilation issue on Leopard

Felix Paul Kühne git at videolan.org
Sat Jan 7 18:52:53 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jan  7 18:52:48 2012 +0100| [4665c50e94985e35eec8d3f2171812440a17d806] | committer: Felix Paul Kühne

macosx: fixed compilation issue on Leopard

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

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

diff --git a/modules/gui/macosx/CompatibilityFixes.h b/modules/gui/macosx/CompatibilityFixes.h
index 3732546..f70f863 100644
--- a/modules/gui/macosx/CompatibilityFixes.h
+++ b/modules/gui/macosx/CompatibilityFixes.h
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * CompatibilityFixes.h: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2011 VLC authors and VideoLAN
+ * Copyright (C) 2011-2012 VLC authors and VideoLAN
  * $Id$
  *
  * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
@@ -63,9 +63,15 @@ extern OSErr UpdateSystemActivity(UInt8 activity);
 #define UsrActivity 1
 #endif
 
+/* the following is just to fix warnings, not for implementation! */
 @interface NSMenu (IntroducedInSnowLeopard)
 - (void)removeAllItems;
 @end
+
+ at interface NSApplication (IntroducedInSnowLeopard)
+- (NSApplicationPresentationOptions)presentationOptions;
+- (void)setPresentationOptions:(NSApplicationPresentationOptions)newOptions;
+ at end
 #endif
 
 #pragma mark -



More information about the vlc-commits mailing list