Fix 32-bit compilation error.
This commit is contained in:
parent
21916f3022
commit
cd8d90b5c4
|
@ -225,6 +225,7 @@ final class ThreadedFileEventDriver(Events : EventDriverEvents) : EventDriverFil
|
||||||
}
|
}
|
||||||
on_finish(file, IOStatus.ok, 0);
|
on_finish(file, IOStatus.ok, 0);
|
||||||
} else version (Windows) {
|
} else version (Windows) {
|
||||||
|
version (Win64) {
|
||||||
import core.sys.windows.windows : FILE_BEGIN, HANDLE, INVALID_HANDLE_VALUE,
|
import core.sys.windows.windows : FILE_BEGIN, HANDLE, INVALID_HANDLE_VALUE,
|
||||||
LARGE_INTEGER, SetFilePointerEx, SetEndOfFile;
|
LARGE_INTEGER, SetFilePointerEx, SetEndOfFile;
|
||||||
import core.stdc.stdio : _get_osfhandle;
|
import core.stdc.stdio : _get_osfhandle;
|
||||||
|
@ -247,6 +248,9 @@ final class ThreadedFileEventDriver(Events : EventDriverEvents) : EventDriverFil
|
||||||
} else {
|
} else {
|
||||||
on_finish(file, IOStatus.error, 0);
|
on_finish(file, IOStatus.error, 0);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
on_finish(file, IOStatus.error, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue