From 03fd2f7a5a4fdb8cf6bdd19e055beffd099648c0 Mon Sep 17 00:00:00 2001 From: Sebastian Parborg Date: Mon, 10 Oct 2022 18:14:56 +0200 Subject: Fix building WITH_HEADLESS An earlier commit removed the '#ifdef' check for the function call but not for the function declaration. --- source/creator/creator_signals.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/creator') diff --git a/source/creator/creator_signals.c b/source/creator/creator_signals.c index c016372e6b0..f67c4dde41d 100644 --- a/source/creator/creator_signals.c +++ b/source/creator/creator_signals.c @@ -66,7 +66,6 @@ static void sig_handle_fpe(int UNUSED(sig)) # endif /* Handling `Ctrl-C` event in the console. */ -# if !defined(WITH_HEADLESS) static void sig_handle_blender_esc(int sig) { G.is_break = true; /* forces render loop to read queue, not sure if its needed */ @@ -81,7 +80,6 @@ static void sig_handle_blender_esc(int sig) count++; } } -# endif static void sig_handle_crash_backtrace(FILE *fp) { -- cgit v1.2.3