Build failure on Mac OS X <= 10.6: use of undeclared identifier 'O_CLOEXEC'
|Reported by:||Ryan Schmidt||Owned by:|
|Component version:||0.11.1||Operating system type:||OS X|
|Operating system version:||10.6.8|
Building libfilezilla fails on Mac OS X 10.6 and earlier:
file.cpp:143:14: error: use of undeclared identifier 'O_CLOEXEC' int flags = O_CLOEXEC; ^ 1 error generated.
O_CLOEXEC was not defined in macOS until version 10.7.
Looks like this problem has been present since the libfilezilla code was originally checked in in r7050.