You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling the 1.5.1 prerelease using libc++ fails in the file DirectoryWatcher.cpp.
src/DirectoryWatcher.cpp:419:4: error: use of undeclared identifier 'close'
close(_dirFD);
^
src/DirectoryWatcher.cpp:426:3: error: use of undeclared identifier 'close'
close(_dirFD);
^
src/DirectoryWatcher.cpp:427:3: error: use of undeclared identifier 'close'
close(_queueFD);
^
As a fix, #include <unistd.h> should be inserted in the file on OS X. I have not submitted a pull request since I'm not 100% sure where in the file to put it.
The text was updated successfully, but these errors were encountered:
Compiling the 1.5.1 prerelease using libc++ fails in the file
DirectoryWatcher.cpp
.My configure command was
As a fix,
#include <unistd.h>
should be inserted in the file on OS X. I have not submitted a pull request since I'm not 100% sure where in the file to put it.The text was updated successfully, but these errors were encountered: