* tests/libtest.c (_ftp_server_thread): Remove redundant check for WIN64

This commit is contained in:
Tim Rühsen
2017-04-11 14:40:47 +02:00
parent dd8c2fd9f4
commit f00a7574f6

View File

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