|
| From: | Sevan Janiyan |
| Subject: | Re: [PATCH] lib/stdio.in.h: define _POSIX_C_SOURCE on >=Sierra |
| Date: | Wed, 8 Nov 2023 12:44:03 +0000 |
| User-agent: | Mozilla Thunderbird |
On 08/11/2023 09:38, Bruno Haible wrote:
This looks good.
Just as a heads up, the version number is stating High Sirra (10.13) and up, not Ventura (13) and up.
In [1] I wrote: "I'll prefer to use the macros without __ prefix; it looks safer to use AvailabilityMacros.h than to bypass it." But as long as we don't have proof of the contrary, both the idiom from unistd.h and the idiom from get_ppid_of.c look equally safe to use.
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ is defined in 10.5 & newer. It is not available on 10.4 & older, but in this case it doesn't matter.
Sevan
| [Prev in Thread] | Current Thread | [Next in Thread] |