[vlc-commits] vout_macosx: compilation fix for 10.6 and earlier
Felix Paul Kühne
git at videolan.org
Tue Aug 16 18:09:55 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Aug 16 18:09:51 2011 +0200| [54d6fa0605341da2d2371905fa0e1bd79daea835] | committer: Felix Paul Kühne
vout_macosx: compilation fix for 10.6 and earlier
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=54d6fa0605341da2d2371905fa0e1bd79daea835
---
modules/video_output/macosx.m | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 2716761..08899a3 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -47,6 +47,13 @@
#include <vlc_dialog.h>
#include "opengl.h"
+#ifndef MAC_OS_X_VERSION_10_7
+enum {
+ NSApplicationPresentationFullScreen = (1 << 10),
+ NSApplicationPresentationAutoHideToolbar = (1 << 11)
+};
+#endif
+
/**
* Forward declarations
*/
More information about the vlc-commits
mailing list