mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-25 21:45:52 +00:00
windows
This commit is contained in:
@@ -82,11 +82,13 @@ void sigIntHandler(int)
|
||||
|
||||
void Application::run()
|
||||
{
|
||||
#ifndef WIN32
|
||||
#ifdef SIGINT
|
||||
struct sigaction sa;
|
||||
memset(&sa, 0, sizeof(sa));
|
||||
sa.sa_handler = sigIntHandler;
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
assert(mTxnDB == NULL);
|
||||
|
||||
Reference in New Issue
Block a user