beefweb
beefweb copied to clipboard
Add MacOS support
Just to get started...
Building with homebrew on MacOS Monterey:
https://github.com/hyperblast/beefweb/blob/master/cpp/server/file_system_posix.cpp#L114
lseek64
is not available on MacOS
https://github.com/hyperblast/beefweb/blob/master/cpp/server/system_posix.cpp#L10
strerror_r
on MacOS uses the XSI compliant version (https://linux.die.net/man/3/strerror_r) so it fails with error:invalid conversion from 'int' to 'const char*'
this is only as far as I got...
Just to get started...
Thanks for investigation!
I need some time to borrow some Apple hardware for testing however