summaryrefslogtreecommitdiff
path: root/tools/perf/ui/gtk/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/gtk/util.c')
-rw-r--r--tools/perf/ui/gtk/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/gtk/util.c b/tools/perf/ui/gtk/util.c
index 8aada5b3c04c..ccb046aac98b 100644
--- a/tools/perf/ui/gtk/util.c
+++ b/tools/perf/ui/gtk/util.c
@@ -116,7 +116,7 @@ struct perf_error_ops perf_gtk_eops = {
* FIXME: Functions below should be implemented properly.
* For now, just add stubs for NO_NEWT=1 build.
*/
-#ifdef NO_NEWT_SUPPORT
+#ifndef NEWT_SUPPORT
void ui_progress__update(u64 curr __maybe_unused, u64 total __maybe_unused,
const char *title __maybe_unused)
{