-rw-r--r-- | pwmanager/pwmanager/pwminit.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwminit.cpp b/pwmanager/pwmanager/pwminit.cpp index 9238c8c..d775aa9 100644 --- a/pwmanager/pwmanager/pwminit.cpp +++ b/pwmanager/pwmanager/pwminit.cpp @@ -56,5 +56,9 @@ static PwMInit *sig_init_pointer; +#ifdef _WIN32_ +static void sig_handler(int signum) +#else static NOREGPARM void sig_handler(int signum) +#endif { switch (signum) { @@ -71,5 +75,4 @@ static NOREGPARM void sig_handler(int signum) - PwMInit::PwMInit(PwMApplication *_app) : runStatus (unknown) |