Fix the windows build.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4797 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2024-01-27 13:51:08 +00:00
parent fa06282ff9
commit 91f41c7497

View File

@ -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)