Add Solaris definition for O_CLOEXEC. Fixes #82.

This commit is contained in:
Sönke Ludwig 2018-08-16 15:19:12 +02:00 committed by GitHub
parent 00ef149c04
commit 0c62764216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ version (Posix) {
{
version (linux) enum O_CLOEXEC = 0x80000;
else version (FreeBSD) enum O_CLOEXEC = 0x100000;
else version (Solaris) enum O_CLOEXEC = 0x800000;
else version (DragonFlyBSD) enum O_CLOEXEC = 0x0020000;
else version (NetBSD) enum O_CLOEXEC = 0x400000;
else version (OpenBSD) enum O_CLOEXEC = 0x10000;