From b74ab967cf330f9c7dd17ffa12009926ace5a4bc Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 5 Oct 2026 04:58:16 +0000 Subject: Try and detect qsort_r in Solaris --- src/sysdeps/tryqsortr_freebsd.c | 3 +++ src/sysdeps/tryqsortr_posix.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') diff --git a/src/sysdeps/tryqsortr_freebsd.c b/src/sysdeps/tryqsortr_freebsd.c index 41ed2fc..d1dc1b1 100644 --- a/src/sysdeps/tryqsortr_freebsd.c +++ b/src/sysdeps/tryqsortr_freebsd.c @@ -5,6 +5,9 @@ #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif +#ifndef __EXTENSIONS__ +#define __EXTENSIONS__ +#endif #include diff --git a/src/sysdeps/tryqsortr_posix.c b/src/sysdeps/tryqsortr_posix.c index 81af081..75c7409 100644 --- a/src/sysdeps/tryqsortr_posix.c +++ b/src/sysdeps/tryqsortr_posix.c @@ -5,6 +5,9 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +#ifndef __EXTENSIONS__ +#define __EXTENSIONS__ +#endif #include -- cgit v1.3.1