mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-10 23:11:17 +02:00
22 lines
695 B
Diff
22 lines
695 B
Diff
--- otp_src_18.1-orig/erts/emulator/hipe/hipe_x86_signal.c
|
|
+++ otp_src_18.1-fixed/erts/emulator/hipe/hipe_x86_signal.c
|
|
@@ -221,16 +221,15 @@
|
|
#include <dlfcn.h>
|
|
static int (*__next_sigaction)(int, const struct sigaction*, struct sigaction*);
|
|
#define init_done() (__next_sigaction != 0)
|
|
-#define __SIGACTION _sigaction
|
|
+#define __SIGACTION __sigaction
|
|
static void do_init(void)
|
|
{
|
|
- __next_sigaction = dlsym(RTLD_NEXT, "_sigaction");
|
|
+ __next_sigaction = dlsym(RTLD_NEXT, "__sigaction");
|
|
if (__next_sigaction != 0)
|
|
return;
|
|
perror("dlsym");
|
|
abort();
|
|
}
|
|
-#define _NSIG NSIG
|
|
#define INIT() do { if (!init_done()) do_init(); } while (0)
|
|
#endif /* not glibc or darwin */
|
|
|