From ed47346ef1785ee78b115ce865d7cdb468b49513 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 4 Jan 2023 17:54:45 +0300 Subject: [PATCH] engine: crashhandler: fix _GNU_SOURCE redefined warning --- engine/common/crashhandler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/common/crashhandler.c b/engine/common/crashhandler.c index 3c638b47..64c537c1 100644 --- a/engine/common/crashhandler.c +++ b/engine/common/crashhandler.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 "common.h"