Fix the build with glib-2.6.

This commit is contained in:
Joe Marcus Clarke 2005-03-14 00:54:58 +00:00
parent 8bcced48eb
commit 527e88b589
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131147
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,15 @@
--- src/mw_debug.h.orig Sun Mar 13 19:52:16 2005
+++ src/mw_debug.h Sun Mar 13 19:52:51 2005
@@ -9,8 +9,12 @@
#define NSTR(str) ((str != NULL)? str: "(null)")
+#ifndef g_debug
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
+#endif
+#ifndef g_info
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
+#endif
/**

View file

@ -0,0 +1,15 @@
--- src/mw_debug.h.orig Sun Mar 13 19:52:16 2005
+++ src/mw_debug.h Sun Mar 13 19:52:51 2005
@@ -9,8 +9,12 @@
#define NSTR(str) ((str != NULL)? str: "(null)")
+#ifndef g_debug
#define g_debug(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format)
+#endif
+#ifndef g_info
#define g_info(format...) g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format)
+#endif
/**