aboutsummaryrefslogtreecommitdiffstats
path: root/src/sysdeps
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-05-31 01:14:44 +0000
committerLaurent Bercot <ska@appnovation.com>2025-05-31 01:14:44 +0000
commitc89c85e1f67824ad93904e4feec295265b423925 (patch)
treed6315e9d89d08bdebc3ff89d8d49936b4ae1c556 /src/sysdeps
parent795c7ef8c99bf330213b53fa5146616ca3022ff6 (diff)
downloadskalibs-c89c85e1f67824ad93904e4feec295265b423925.tar.gz
Try once more to support MacOS 10.4
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/sysdeps')
-rw-r--r--src/sysdeps/trystatim.c3
-rw-r--r--src/sysdeps/trystatimespec.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/sysdeps/trystatim.c b/src/sysdeps/trystatim.c
index 3df38b8..78eef18 100644
--- a/src/sysdeps/trystatim.c
+++ b/src/sysdeps/trystatim.c
@@ -1,5 +1,8 @@
/* ISC license. */
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
#ifndef _DARWIN_C_SOURCE
#define _DARWIN_C_SOURCE
#endif
diff --git a/src/sysdeps/trystatimespec.c b/src/sysdeps/trystatimespec.c
index 9e03bc2..2157117 100644
--- a/src/sysdeps/trystatimespec.c
+++ b/src/sysdeps/trystatimespec.c
@@ -1,5 +1,8 @@
/* ISC license. */
+#undef _POSIX_C_SOURCE
+#undef _XOPEN_SOURCE
+
#ifndef _DARWIN_C_SOURCE
#define _DARWIN_C_SOURCE
#endif