Merge pull request #83 from vibe-d/s-ludwig-patch-1
Add Solaris definition for O_CLOEXEC. Fixes #82.
This commit is contained in:
commit
491e100ef5
|
@ -27,6 +27,7 @@ version (Posix) {
|
||||||
{
|
{
|
||||||
version (linux) enum O_CLOEXEC = 0x80000;
|
version (linux) enum O_CLOEXEC = 0x80000;
|
||||||
else version (FreeBSD) enum O_CLOEXEC = 0x100000;
|
else version (FreeBSD) enum O_CLOEXEC = 0x100000;
|
||||||
|
else version (Solaris) enum O_CLOEXEC = 0x800000;
|
||||||
else version (DragonFlyBSD) enum O_CLOEXEC = 0x0020000;
|
else version (DragonFlyBSD) enum O_CLOEXEC = 0x0020000;
|
||||||
else version (NetBSD) enum O_CLOEXEC = 0x400000;
|
else version (NetBSD) enum O_CLOEXEC = 0x400000;
|
||||||
else version (OpenBSD) enum O_CLOEXEC = 0x10000;
|
else version (OpenBSD) enum O_CLOEXEC = 0x10000;
|
||||||
|
|
Loading…
Reference in a new issue