[PATCH v2 12/13] build-sys: move G_LOG_DOMAIN to CPPFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>

So the whole project use the same log domain.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 Makefile.am   | 1 +
 src/vreader.c | 5 -----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 0d9cc6a..c332c99 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -70,6 +70,7 @@ tests_libcacard_LDADD = libcacard.la
 @CODE_COVERAGE_RULES@
 
 AM_CPPFLAGS =					\
+	-DG_LOG_DOMAIN=\"libcacard\"		\
 	$(CACARD_CFLAGS)			\
 	$(CODE_COVERAGE_CFLAGS)			\
 	$(PCSC_CFLAGS)				\
diff --git a/src/vreader.c b/src/vreader.c
index bd662ac..2d8aa9f 100644
--- a/src/vreader.c
+++ b/src/vreader.c
@@ -5,11 +5,6 @@
  * See the COPYING file in the top-level directory.
  */
 
-#ifdef G_LOG_DOMAIN
-#undef G_LOG_DOMAIN
-#endif
-#define G_LOG_DOMAIN "libcacard"
-
 #include "glib-compat.h"
 
 #include <string.h>
-- 
2.4.3

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]