[vte/vte-next] all: Fix redefinition warnings
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-next] all: Fix redefinition warnings
- Date: Tue, 17 Apr 2012 22:01:51 +0000 (UTC)
commit 3f7f9df4451424fe93dcb69a41991f6b0ec91d94
Author: Christian Persch <chpe gnome org>
Date: Tue Apr 17 23:58:18 2012 +0200
all: Fix redefinition warnings
src/matcher.c | 2 ++
src/vtetc.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/matcher.c b/src/matcher.c
index 983b276..084646e 100644
--- a/src/matcher.c
+++ b/src/matcher.c
@@ -20,7 +20,9 @@
#include <config.h>
/* GCache is deprecated */
+#ifndef GLIB_DISABLE_DEPRECATION_WARNINGS
#define GLIB_DISABLE_DEPRECATION_WARNINGS
+#endif
#include <sys/types.h>
#include <string.h>
diff --git a/src/vtetc.c b/src/vtetc.c
index 9b103e5..55a7708 100644
--- a/src/vtetc.c
+++ b/src/vtetc.c
@@ -21,7 +21,9 @@
#include "config.h"
/* GCache is deprecated */
+#ifndef GLIB_DISABLE_DEPRECATION_WARNINGS
#define GLIB_DISABLE_DEPRECATION_WARNINGS
+#endif
#include <string.h>
#include <stdlib.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]