bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] lib/stdio.in.h: define _POSIX_C_SOURCE on >=Sierra


From: Sevan Janiyan
Subject: Re: [PATCH] lib/stdio.in.h: define _POSIX_C_SOURCE on >=Sierra
Date: Fri, 10 Nov 2023 08:39:12 +0000
User-agent: Mozilla Thunderbird

On 10/11/2023 05:47, Paul Eggert wrote:
If the #if should fire when it's 13 and above, shouldn't that be:

   # if (defined MAC_OS_X_VERSION_MIN_REQUIRED \
         && 130000 <= MAC_OS_X_VERSION_MIN_REQUIRED)

No because that matches 120000 and prior, right? where as you want it to apply to 140000 which is the current version of macOS (14, Sonoma). You would then put an upper bound with MAC_OS_X_VERSION_MAX_ALLOWED should Apple changes things in a future release and the scenario changes.


Sevan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]