From 96b7ae248368db70dba27ee12f36f7b810a46af0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 10 Nov 2023 22:33:49 -0800 Subject: [PATCH] stdio: fix port to older macOS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 | 8 ++++++++ lib/stdio.in.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3aa9f919d5..c83d73ca3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2023-11-10 Paul Eggert + + 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 doc: Mention rand and srand limitations. diff --git a/lib/stdio.in.h b/lib/stdio.in.h index 22b5ca46b2..54ec0563e4 100644 --- a/lib/stdio.in.h +++ b/lib/stdio.in.h @@ -42,7 +42,7 @@ # include # 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 -- 2.39.5