Closed willzyba closed 5 years ago
well done man , macos complies success thanks
Thanks a lot! Now it works.
Submit this as a pull request and I'll apply it. Get your name on it.
I added both modifications, but now I'm getting:
Scanning dependencies of target fastcgipp
[ 5%] Building CXX object CMakeFiles/fastcgipp.dir/src/log.cpp.o
[ 11%] Building CXX object CMakeFiles/fastcgipp.dir/src/block.cpp.o
[ 16%] Building CXX object CMakeFiles/fastcgipp.dir/src/http.cpp.o
[ 22%] Building CXX object CMakeFiles/fastcgipp.dir/src/protocol.cpp.o
[ 27%] Building CXX object CMakeFiles/fastcgipp.dir/src/poll.cpp.o
/Users/enhering/Documents/git/BEEGOL/bwma-infrastructure/dependencies/fastcgi++/src/poll.cpp:52:53: error: use of undeclared identifier 'POLLRDHUP'
const unsigned Fastcgipp::Poll::Result::pollRdHup = POLLRDHUP;
^
/Users/enhering/Documents/git/BEEGOL/bwma-infrastructure/dependencies/fastcgi++/src/poll.cpp:133:37: error: use of undeclared identifier 'POLLRDHUP'
m_poll.back().events = POLLIN | POLLRDHUP | POLLERR | POLLHUP;
@eddic , there is still a bug here. Does the error message above gives a clue to you on how to solve it?
Thanks for a great library.
To get this to compile on OSX, can you add to the top of sockets.cpp
And add to log.cpp: