Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building eventcore failing on FreeBSD 13.0-RELEASE #202

Open
stackyjoe opened this issue Nov 14, 2021 · 0 comments
Open

Building eventcore failing on FreeBSD 13.0-RELEASE #202

stackyjoe opened this issue Nov 14, 2021 · 0 comments

Comments

@stackyjoe
Copy link

stackyjoe commented Nov 14, 2021

Hello. Simple mistake, the current code for ThreadedFileEventDriver.taskFun() calls lseeki64 on windows and lseek64 otherwise. FreeBSD's unistd.h does not come with lseek64. I have forked and committed a simple 3 line patch which just checks

else version (linux) {
    .lseek64(...);
} else version (Posix) {
    .lseek(...);
}

Which I have used to successfully compile vibe.d and download a html page with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant