From 8b1f8af4f43374917f940880db94b4a2b39e0e13 Mon Sep 17 00:00:00 2001 From: Andrea Shepard <andrea@special-circumstanc.es> Date: Tue, 10 Mar 2020 10:35:12 +0000 Subject: [PATCH] Using _POSIX_C_SOURCE in the middle of a header is incorrect and may work unreliably because of multiple-include guards --- src/tsearch.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tsearch.h b/src/tsearch.h index 7ba71d97..7b297db7 100644 --- a/src/tsearch.h +++ b/src/tsearch.h @@ -20,7 +20,6 @@ void *tfind(const void *vkey, void * const *vrootp, int (*compar)(const void *, const void *)); #else -#define _POSIX_C_SOURCE 200809L #include <search.h> #endif -- GitLab