[FFmpeg-devel] [PATCH 2/4] libavdevice/avfoundation: add capture_screen_cursor option

Matthieu Bouron matthieu.bouron at gmail.com
Sat Mar 14 10:50:20 CET 2015


On Sat, Mar 14, 2015 at 8:29 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

>  <matthieu.bouron <at> gmail.com> writes:
>
> > +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
>
> Please make this "#if !TARGET_OS_IPHONE && ..."
> to avoid warnings when compiling for iOS.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Hello Carl,

Both code blocks are already contained in the following blocks:

#if !TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
[...]
#endif

Do you still want the #if !TARGET_OS_IPHONE for consistency ?

Matthieu


More information about the ffmpeg-devel mailing list