From 91f41c749772bea1482320b8ef450a68e8bac92e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sat, 27 Jan 2024 13:51:08 +0000 Subject: [PATCH] Fix the windows build. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4797 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/task.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/task.c b/src/task.c index 1447b7c3..4969d372 100644 --- a/src/task.c +++ b/src/task.c @@ -1574,7 +1574,11 @@ JSModuleDef* _tf_task_module_loader(JSContext* context, const char* module_name, static void _tf_task_signal_shutdown(uv_signal_t* signal, int sig) { +#if !defined(_WIN32) tf_printf("Received %s.\n", strsignal(sig)); +#else + tf_printf("Interrupted.\n"); +#endif tf_task_t* task = signal->data; task->_killed = true; if (task->_parent)