mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 14:45:36 +02:00
pre c++11 fixes
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
Reference in New Issue
Block a user