[buoh/builder-port: 2/4] app: fix buoh_debug
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/builder-port: 2/4] app: fix buoh_debug
- Date: Wed, 12 Sep 2018 11:54:38 +0000 (UTC)
commit 0f14dbafe5428c207a43ab9f0de0162d3020324c
Author: Jan Tojnar <jtojnar gmail com>
Date: Sun Sep 9 15:28:16 2018 +0200
app: fix buoh_debug
Meson sets NDEBUG instead of GNOME_ENABLE_DEBUG set by the gnome-common
m4 macros.
src/buoh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/buoh.c b/src/buoh.c
index 0222257..6586027 100644
--- a/src/buoh.c
+++ b/src/buoh.c
@@ -67,7 +67,7 @@ G_DEFINE_TYPE (Buoh, buoh, G_TYPE_OBJECT)
void
buoh_debug (const gchar *format, ...)
{
-#ifdef GNOME_ENABLE_DEBUG
+#ifdef NDEBUG
va_list args;
gchar *string;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]