On 2026-08-04 17:01, Stephen Hutchinson via ffmpeg-devel wrote:
The #ifdef in question: # if defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 120000 # define AVF_IO_MAIN_PORT_DEFAULT kIOMainPortDefault # else # define AVF_IO_MAIN_PORT_DEFAULT kIOMasterPortDefault # endif I'm not sure setting _MAX_ALLOWED to anything here is the correct check (as that reads to me that it unconditionally enables kIOMainPortDefault as the alias and never drops to the #else condition), versus using _MIN_ALLOWED or a different API check entirely. Or it is supposed to work correctly due to weird naming conventions in the SDK, but depends on -mmacosx-version-min= being set in the CFLAGS/LDFLAGS instead of/in addition to using the MACOSX_DEPLOYMENT_TARGET environment variable.
I think the author of the commit would have to answer this.Afaik here is no difference between setting the MACOSX_DEPLOYMENT_TARGET env var or using the -mmacosx-version-min=X argument.
Cheers, K. C.
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
