[gnome-builder] patternspec: define _GNU_SOURCE for strcasestr
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] patternspec: define _GNU_SOURCE for strcasestr
- Date: Sun, 29 Mar 2015 22:39:45 +0000 (UTC)
commit 5f35db7e422123063ebf6031718cb46217bbdf87
Author: Christian Hergert <christian hergert me>
Date: Sun Mar 29 15:39:39 2015 -0700
patternspec: define _GNU_SOURCE for strcasestr
libide/ide-pattern-spec.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libide/ide-pattern-spec.c b/libide/ide-pattern-spec.c
index 4507842..b925a90 100644
--- a/libide/ide-pattern-spec.c
+++ b/libide/ide-pattern-spec.c
@@ -18,6 +18,9 @@
#define G_LOG_DOMAIN "ide-pattern-spec"
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
#include <string.h>
#include "ide-pattern-spec.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]