From f782d444a84c27ed4a5f81c313cc5b67a7801529 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 5 Feb 2023 02:16:38 +0100 Subject: [PATCH] engine: platform: posix: don't redefine _GNU_SOURCE --- engine/platform/posix/lib_posix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/platform/posix/lib_posix.c b/engine/platform/posix/lib_posix.c index 746b73e7..fe1204e0 100644 --- a/engine/platform/posix/lib_posix.c +++ b/engine/platform/posix/lib_posix.c @@ -12,7 +12,9 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include "platform/platform.h" #if XASH_LIB == LIB_POSIX #include