Closed braitsch closed 6 years ago
Sorry I missed this a couple weeks ago! Are you sure these need to be all set to 0? I just pushed a fix for just HAVE_UNISTD_H alone. Let me know if there's something I should be aware of!
HAVE_UNISTD_H was the only one that was throwing an error for me but setting the rest to false rather than leaving them undefined will help protect against future issues.
Compiling in Xcode 9 against the 10.13 SDK throws an error if
HAVE_UNISTD_H
inlibs/libwebsockets/include/lws_config.h
is undefined.Defaulting it to 0 resolves this issue. https://forums.developer.apple.com/thread/86887