define O_CLOEXEC as O_NOINHERIT on windows

This commit is contained in:
nick black 2021-07-22 16:28:08 -04:00
parent 698d1e59f5
commit d90736f84f
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -21,6 +21,8 @@ extern "C" {
#define ECHO 0
#define TCSAFLUSH 0
#define TCSANOW 0
#define O_CLOEXEC O_NOINHERIT
#define O_NOCTTY 0
#define nl_langinfo(x) NULL
#endif