From b407e9290c6ce2ef69f4949f0cb04f8be3770eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 11 Apr 2017 17:50:41 +0200 Subject: text: do not redefine _GNU_SOURCE Fix #536 --- text.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/text.c b/text.c index 134d507..bc0be04 100644 --- a/text.c +++ b/text.c @@ -1,4 +1,6 @@ -#define _GNU_SOURCE // memrchr(3) is non-standard +#ifndef _GNU_SOURCE +#define _GNU_SOURCE /* memrchr(3) is non-standard */ +#endif #include #include #include -- cgit v1.2.3