]> git.proxmox.com Git - wasi-libc.git/commitdiff
Remove the Linux-specific <sys/signalfd.h> header.
authorDan Gohman <sunfish@mozilla.com>
Sat, 20 Apr 2019 00:19:07 +0000 (17:19 -0700)
committerDan Gohman <sunfish@mozilla.com>
Mon, 22 Apr 2019 18:41:55 +0000 (11:41 -0700)
Makefile
expected/wasm32-wasi/include-all.c
expected/wasm32-wasi/predefined-macros.txt

index 9acbc60eef92a34ff08775dfb67c08d4941f5c10..f678779bc5317cae1c3f28e94fe069dbb617aba6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -368,7 +368,8 @@ $(SYSROOT_INC):
              "$(SYSROOT_INC)/spawn.h" \
              "$(SYSROOT_INC)/ucontext.h" \
              "$(SYSROOT_INC)/sys/ucontext.h" \
-             "$(SYSROOT_INC)/sys/membarrier.h"
+             "$(SYSROOT_INC)/sys/membarrier.h" \
+             "$(SYSROOT_INC)/sys/signalfd.h"
 ifeq ($(THREAD_MODEL), single)
        $(RM) "$(SYSROOT_INC)/aio.h" \
              "$(SYSROOT_INC)/pthread.h"
index 995412632bece0770a16d99b2abecdb046f15498..714d03d7ac79c8d042c368f3e849f8c0b888962a 100644 (file)
 #include <sys/resource.h>
 #include <sys/select.h>
 #include <sys/signal.h>
-#include <sys/signalfd.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <sys/stropts.h>
index a5f3a6b6258f2a95edc1ea457fdabb635d513500..3500ce1f9aee5d0b85b142834e9515f11287f20a 100644 (file)
 #define SEGV_PKUERR 4
 #define SEM_FAILED ((sem_t *)0)
 #define SERVFAIL ns_r_servfail
-#define SFD_CLOEXEC O_CLOEXEC
-#define SFD_NONBLOCK O_NONBLOCK
 #define SHORTBITS (sizeof(short) * 8)
 #define SHRT_MAX 0x7fff
 #define SHRT_MIN (-1-0x7fff)
 #define _SYS_REG_H 
 #define _SYS_RESOURCE_H 
 #define _SYS_SELECT_H 
-#define _SYS_SIGNALFD_H 
 #define _SYS_SOCKET_H 
 #define _SYS_STAT_H 
 #define _SYS_SYSCALL_H