beefweb icon indicating copy to clipboard operation
beefweb copied to clipboard

Add MacOS support

Open hyperblast opened this issue 2 years ago • 2 comments

hyperblast avatar Feb 14 '23 16:02 hyperblast

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...

fijam avatar Feb 18 '23 18:02 fijam

Just to get started...

Thanks for investigation!

I need some time to borrow some Apple hardware for testing however

hyperblast avatar Feb 18 '23 19:02 hyperblast