Work around missing AT_SYMLINK_NOFOLLOW declaration for Musl.
This commit is contained in:
parent
59912a7f21
commit
69444da9a3
|
@ -1122,6 +1122,11 @@ version (Posix) {
|
||||||
static if (!is(typeof(AT_SYMLINK_NOFOLLOW)))
|
static if (!is(typeof(AT_SYMLINK_NOFOLLOW)))
|
||||||
enum AT_SYMLINK_NOFOLLOW = 0x0020;
|
enum AT_SYMLINK_NOFOLLOW = 0x0020;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version (CRuntime_Musl) {
|
||||||
|
static if (!is(typeof(AT_SYMLINK_NOFOLLOW)))
|
||||||
|
enum AT_SYMLINK_NOFOLLOW = 0x0100;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private immutable TaskSettings ioTaskSettings = { priority: 20 * Task.basePriority };
|
private immutable TaskSettings ioTaskSettings = { priority: 20 * Task.basePriority };
|
||||||
|
|
Loading…
Reference in a new issue