Skip to content

Commit

Permalink
Refs #10841. Define SIGBUS as SIGSEGV on windows systems.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Jun 18, 2012
1 parent 0433370 commit 62f3c64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythbase/signalhandling.cpp
Expand Up @@ -20,6 +20,10 @@ using namespace std;
#include "exitcodes.h"
#include "signalhandling.h"

#ifndef SIGBUS /* for windows compilation */
#define SIGBUS SIGSEGV
#endif

int SignalHandler::sigFd[2];
volatile bool SignalHandler::s_exit_program = false;

Expand Down

0 comments on commit 62f3c64

Please sign in to comment.