[vlc-commits] vout/opengl: TARGET_OS_MAC is also defined for iOS, so this isn' t valid divider

Felix Paul Kühne git at videolan.org
Sat Jun 30 15:15:40 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jun 30 15:15:09 2012 +0200| [50e96dd4ad87d0c428ff05919d2f23c72004ae5f] | committer: Felix Paul Kühne

vout/opengl: TARGET_OS_MAC is also defined for iOS, so this isn't valid divider

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

 modules/video_output/opengl.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/opengl.h b/modules/video_output/opengl.h
index 13645f3..31eb461 100644
--- a/modules/video_output/opengl.h
+++ b/modules/video_output/opengl.h
@@ -31,7 +31,7 @@
 
 #ifdef __APPLE__
 # include "TargetConditionals.h"
-# if defined(TARGET_OS_MAC)
+# if !defined(TARGET_OS_IPHONE)
 #  define MACOS_OPENGL
 #  include <OpenGL/gl.h>
 # else



More information about the vlc-commits mailing list