Work around missing AT_SYMLINK_NOFOLLOW declaration for Musl.

This commit is contained in:
Sönke Ludwig 2021-01-18 13:45:12 +01:00
parent 59912a7f21
commit 69444da9a3

View file

@ -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 };