Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Build Python with POSIX 2024, instead of POSIX 2008. Patch by Victor Stinner.
6 changes: 3 additions & 3 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,8 @@ esac

if test $define_xopen_source = yes
then
# X/Open 7, incorporating POSIX.1-2008
AC_DEFINE([_XOPEN_SOURCE], [700],
# X/Open 8, incorporating POSIX.1-2024
AC_DEFINE([_XOPEN_SOURCE], [800],
[Define to the level of X/Open that your system supports])

# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
Expand All @@ -927,8 +927,8 @@ then
AC_DEFINE([_XOPEN_SOURCE_EXTENDED], [1],
[Define to activate Unix95-and-earlier features])

AC_DEFINE([_POSIX_C_SOURCE], [200809L],
[Define to activate features from IEEE Stds 1003.1-2008])
AC_DEFINE([_POSIX_C_SOURCE], [202405L],
[Define to activate features from IEEE Std 1003.1-2024])
fi

# On HP-UX mbstate_t requires _INCLUDE__STDC_A1_SOURCE
Expand Down
2 changes: 1 addition & 1 deletion pyconfig.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@
/* Define on NetBSD to activate all library features */
#undef _NETBSD_SOURCE

/* Define to activate features from IEEE Stds 1003.1-2008 */
/* Define to activate features from IEEE Std 1003.1-2024 */
#undef _POSIX_C_SOURCE

/* Define if you have POSIX threads, and your system does not define that. */
Expand Down
Loading