| 1 |
From 4f3bcf53d6f55c72cfd43538ea9a4bc4d588cd04 Mon Sep 17 00:00:00 2001 |
| 2 |
From: yangfl <[email protected]> |
| 3 |
Date: Sat, 6 Sep 2025 23:09:25 +0800 |
| 4 |
Subject: [PATCH 6/7] Replace _BSD_SOURCE with _DEFAULT_SOURCE |
| 5 |
|
| 6 |
--- |
| 7 |
configure.ac | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/configure.ac b/configure.ac |
| 11 |
index 8c5ab90e..3b572776 100644 |
| 12 |
--- a/configure.ac |
| 13 |
+++ b/configure.ac |
| 14 |
@@ -320,7 +320,7 @@ case "$host_os" in |
| 15 |
hostos=freebsd |
| 16 |
;; |
| 17 |
linux*) |
| 18 |
- ADD_CPPFLAGS="$ADD_CPPFLAGS -D_BSD_SOURCE" |
| 19 |
+ ADD_CPPFLAGS="$ADD_CPPFLAGS -D_DEFAULT_SOURCE" |
| 20 |
hostos=linux |
| 21 |
if test "X`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null`" = "Xarmel"; then |
| 22 |
nativefp=no |
| 23 |
-- |
| 24 |
2.50.1 |
| 25 |
|