From aadb2fe4d5aab9648946663b6616bdc1ca989129 Mon Sep 17 00:00:00 2001 From: nishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5> Date: Tue, 25 Jun 2024 01:39:24 +0000 Subject: [PATCH] mingw32 does not have SIGUSR1 git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@430 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Server/server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Server/server.c b/Server/server.c index 12e15ce..dd0c408 100644 --- a/Server/server.c +++ b/Server/server.c @@ -324,7 +324,9 @@ int main(int _argc, char** _argv) { flog = stdout; signal(SIGINT, exitnow); signal(SIGTERM, exitnow); +#if !defined(__MINGW32__) signal(SIGUSR1, rescan_sig); +#endif printf("DataWorks Server version %s %s %s\n", dataworks_get_version(), dataworks_get_compile_date(), dataworks_get_platform()); printf("\n"); printf("%s\n", dataworks_get_copyright()); -- 2.43.0