summaryrefslogtreecommitdiff
path: root/telepathy-glib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/util.h')
-rw-r--r--telepathy-glib/util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/telepathy-glib/util.h b/telepathy-glib/util.h
index af63a3a99..4c26d733c 100644
--- a/telepathy-glib/util.h
+++ b/telepathy-glib/util.h
@@ -30,9 +30,10 @@
#include <gio/gio.h>
#include <telepathy-glib/defs.h>
-#include <telepathy-glib/verify.h>
-#define tp_verify_statement(R) ((void) tp_verify_true (R))
+#define tp_verify_statement(R) ((void) G_STATIC_ASSERT_EXPR (R))
+#define tp_verify_true(R) (((void) G_STATIC_ASSERT_EXPR (R)), 1)
+#define tp_verify(R) G_STATIC_ASSERT (R)
G_BEGIN_DECLS