]> Savannah Git Hosting - gnulib.git/commitdiff
stdio: fix port to older macOS
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Nov 2023 06:33:49 +0000 (22:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 11 Nov 2023 06:33:49 +0000 (22:33 -0800)
* lib/stdio.in.h: It’s pre macOS 13, not pre macOS 10.13.
Problem reported by Sevan Janiyan in:
https://lists.gnu.org/r/bug-gnulib/2023-11/msg00066.html
et seq.

ChangeLog
lib/stdio.in.h

index 3aa9f919d56951a4899f4ea5641f3692569e955c..c83d73ca3d516a748e5c5fe48e68bf5b6a64d02a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-11-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       stdio: fix port to older macOS
+       * lib/stdio.in.h: It’s pre macOS 13, not pre macOS 10.13.
+       Problem reported by Sevan Janiyan in:
+       https://lists.gnu.org/r/bug-gnulib/2023-11/msg00066.html
+       et seq.
+
 2023-11-10  Bruno Haible  <bruno@clisp.org>
 
        doc: Mention rand and srand limitations.
index 22b5ca46b23327871de5cbfb8550d16723519662..54ec0563e4bc5b3c9de8652b5ce03f14e8c69f96 100644 (file)
@@ -42,7 +42,7 @@
 #  include <AvailabilityMacros.h>
 # endif
 # if (defined MAC_OS_X_VERSION_MIN_REQUIRED \
-      && 101300 <= MAC_OS_X_VERSION_MIN_REQUIRED)
+      && 130000 <= MAC_OS_X_VERSION_MIN_REQUIRED)
 #  define _POSIX_C_SOURCE 200809L
 #  define _GL_DEFINED__POSIX_C_SOURCE
 # endif