if test $define_xopen_source = yes
then
- # X/Open 7, incorporating POSIX.1-2008
+ # X/Open 8, incorporating POSIX.1-2024
-printf "%s\n" "#define _XOPEN_SOURCE 700" >>confdefs.h
+printf "%s\n" "#define _XOPEN_SOURCE 800" >>confdefs.h
# On Tru64 Unix 4.0F, defining _XOPEN_SOURCE also requires
-printf "%s\n" "#define _POSIX_C_SOURCE 200809L" >>confdefs.h
+printf "%s\n" "#define _POSIX_C_SOURCE 202405L" >>confdefs.h
fi
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
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
/* 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. */