Skip to content

Commit

Permalink
Re-added lost USE_EXECINFO.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Jul 12, 2014
1 parent aa25d20 commit 59c9a2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vm/signal.cpp
Expand Up @@ -275,6 +275,7 @@ namespace rubinius {

static void null_func(int sig) {}

#ifdef USE_EXECINFO
static void safe_write(int fd, const char* str, int len=0) {
if(!len) len = strlen(str);
if(write(fd, str, len) == 0) exit(101);
Expand Down Expand Up @@ -383,6 +384,7 @@ namespace rubinius {

raise(sig);
}
#endif

void SignalHandler::setup_default_handlers(std::string path) {
#ifndef RBX_WINDOWS
Expand Down

0 comments on commit 59c9a2f

Please sign in to comment.