mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-02-01 14:41:08 +00:00
* tests/libtest.c (_ftp_server_thread): Remove redundant check for WIN64
This commit is contained in:
@ -264,7 +264,7 @@ static void *_ftp_server_thread(void *ctx)
|
||||
int pasv_port, found;
|
||||
unsigned io_pos;
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64)
|
||||
#ifdef _WIN32
|
||||
signal(SIGTERM, sigterm_handler);
|
||||
#else
|
||||
sigaction(SIGTERM, &(struct sigaction) { .sa_handler = sigterm_handler }, NULL);
|
||||
|
||||
Reference in New Issue
Block a user