Closed MaddTheSane closed 6 years ago
fmemopen was added in 10.13. This uses the new __builtin_available attribute added in Xcode 9, and if it isn't there, uses the old, emulated fmemopen. This also declares our own fmemopen as a macro to prevent linking collisions.
fmemopen
__builtin_available
Based off of my work on my fork of fmemopen.
Thanks!
fmemopen
was added in 10.13. This uses the new__builtin_available
attribute added in Xcode 9, and if it isn't there, uses the old, emulatedfmemopen
. This also declares our ownfmemopen
as a macro to prevent linking collisions.Based off of my work on my fork of fmemopen.