diff --git a/source/eventcore/drivers/threadedfile.d b/source/eventcore/drivers/threadedfile.d index 3e4025a5..772987f1 100644 --- a/source/eventcore/drivers/threadedfile.d +++ b/source/eventcore/drivers/threadedfile.d @@ -398,7 +398,11 @@ log("start processing"); auto bytes = buffer; version (Windows) { ._lseeki64(cast(int)file, offset, SEEK_SET); - } else .lseek64(cast(int)file, offset, SEEK_SET); + } else version (linux) { + .lseek64(cast(int)file, offset, SEEK_SET); + } else version (Posix) { + .lseek(cast(int)file, offset, SEEK_SET); + } scope (exit) { log("trigger event");