diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-12-25 00:16:29 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-12-25 09:55:25 -0500 |
commit | 08b4e6279c64bc694292199c1806d8af349bbd28 (patch) | |
tree | e22eab40aa7b7359fa32cdeca8d6ecb7d4aa612a /pango/pango-trace-private.h | |
parent | c9695879af169f3afd53f6a348fae564f5100b02 (diff) | |
download | pango-08b4e6279c64bc694292199c1806d8af349bbd28.tar.gz |
tracing: Fix the defines
We want to define pango_trace_mark to nothing.
This reveals that we've never compiled these
calls out before, and there are some warnings
to be fixed in that case.
Diffstat (limited to 'pango/pango-trace-private.h')
-rw-r--r-- | pango/pango-trace-private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-trace-private.h b/pango/pango-trace-private.h index 5d2a4fdf..8d5ebf51 100644 --- a/pango/pango-trace-private.h +++ b/pango/pango-trace-private.h @@ -42,9 +42,9 @@ void pango_trace_mark (gint64 begin_time, #ifndef HAVE_SYSPROF /* Optimise the whole call out */ #if defined(G_HAVE_ISO_VARARGS) -#define g_trace_mark(b, n, m, ...) +#define pango_trace_mark(b, n, m, ...) G_STMT_START { } G_STMT_END #elif defined(G_HAVE_GNUC_VARARGS) -#define g_trace_mark(b, n, m...) +#define pango_trace_mark(b, n, m...) G_STMT_START { } G_STMT_END #else /* no varargs macro support; the call will have to be optimised out by the compiler */ #endif |