commit: 1c3dd788976cf121edb230bb1db7a3147b0f923d
parent 9d91b08586e10d010e2647f5cb0e2678e0e0375d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 30 Jul 2024 14:54:54 +0200
Revert "configure: Add test for _POSIX_VERSION 202405L"
This reverts commit dd9801d7c154beeca3be1f265ed4fae1192215fc.
Diffstat:
2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/configure b/configure
@@ -227,10 +227,6 @@ if ! check_conftest configure.d/reallocarray.c; then
target_filter="${target_filter} -e cmd/tr."
fi
-if check_conftest configure.d/posix_2024.h; then
- CFLAGS="${CFLAGS} -DHAS_POSIX_2024"
-fi
-
check_conftest configure.d/getopt_long.c && CFLAGS="${CFLAGS} -DHAS_GETOPT_LONG"
echo
diff --git a/configure.d/posix_2024.h b/configure.d/posix_2024.h
@@ -1,11 +0,0 @@
-// utils-std: Collection of commonly available Unix tools
-// SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
-// SPDX-License-Identifier: MPL-2.0
-
-#define _POSIX_C_SOURCE 202405L
-
-#include <unistd.h>
-
-#if _POSIX_VERSION < 202405L
-#error _POSIX_VERSION < 202405L
-#endif