windows: patch out more constants

This commit is contained in:
nick black 2021-07-23 00:38:41 -04:00
parent f28152d95e
commit 1113f7dd35
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,9 @@ extern "C" {
#define sigset_t int
#define sigfillset(x)
#define sigemptyset(x)
#define O_CLOEXEC O_NOINHERIT
#define O_DIRECTORY 0
#define S_IFLNK 0
#else // bsd
#include <poll.h>
#include <netinet/in.h>

View File

@ -24,7 +24,6 @@ extern "C" {
#define ISIG 0
#define TCSAFLUSH 0
#define TCSANOW 0
#define O_CLOEXEC O_NOINHERIT
#define O_NOCTTY 0
#define SA_SIGINFO 0
#define SA_RESETHAND 0