mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
pre c++11 fixes
This commit is contained in:
parent
60987f5949
commit
50240732f9
@ -18,6 +18,7 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
#include <signal.h>
|
||||
|
||||
|
||||
int main(int argc, char** argv)
|
||||
@ -48,8 +49,8 @@ int main(int argc, char** argv)
|
||||
}
|
||||
else if (arg == "-raise-int")
|
||||
{
|
||||
std::signal(SIGINT, SIG_DFL);
|
||||
std::raise(SIGINT);
|
||||
signal(SIGINT, SIG_DFL);
|
||||
raise(SIGINT);
|
||||
}
|
||||
else if (arg == "-echo-args")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user