Add Solaris definition for O_CLOEXEC. Fixes #82.
This commit is contained in:
parent
00ef149c04
commit
0c62764216
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue