Skip to content

Commit

Permalink
Properly declare _sigaction on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
nox committed Apr 30, 2013
1 parent 096618c commit 18fec52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erts/emulator/hipe/hipe_x86_signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ static void do_init(void)
#include <dlfcn.h>
static int (*__next_sigaction)(int, const struct sigaction*, struct sigaction*);
#define init_done() (__next_sigaction != 0)
extern int _sigaction(int, const struct sigaction*, struct sigaction*);
#define __SIGACTION _sigaction
static void do_init(void)
{
Expand Down

0 comments on commit 18fec52

Please sign in to comment.