[vlc-devel] [vlc-commits] quartztext: use a better way to differciate between Mac and iOS builds

Pierre d'Herbemont pdherbemont at gmail.com
Mon Apr 4 08:49:28 CEST 2011



On Apr 3, 2011, at 21:08, git at videolan.org (Felix Paul Kühne) wrote:

> vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr  3 20:55:52 2011 +0200| [56310d5c1b8ecc0869046f33cadae28b00d2d9ca] | committer: Felix Paul Kühne
> 
> quartztext: use a better way to differciate between Mac and iOS builds
> 
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=56310d5c1b8ecc0869046f33cadae28b00d2d9ca
> ---
> 
> modules/misc/text_renderer/quartztext.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/modules/misc/text_renderer/quartztext.c b/modules/misc/text_renderer/quartztext.c
> index 12745e2..1f23e0d 100644
> --- a/modules/misc/text_renderer/quartztext.c
> +++ b/modules/misc/text_renderer/quartztext.c
> @@ -38,7 +38,7 @@
> 
> #include <TargetConditionals.h>
> 
> -#ifdef TARGET_OS_IPHONE
> +#ifdef __IPHONE_OS_VERSION_MIN_REQUIRED
> #include <CoreText/CoreText.h>
> #include <CoreGraphics/CoreGraphics.h>
> 

TARGET_OS_IPHONE was the right switch. Though it has to be a #if I believe.

Pierre.

> 
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits



More information about the vlc-devel mailing list