Closed pagict closed 7 years ago
Put this on log.cpp
#if __APPLE__
#ifndef HOST_NAME_MAX
#define HOST_NAME_MAX 255
#endif
#ifndef program_invocation_name
#define program_invocation_name "fastcgi"
#endif
#endif
This Variable is only avaliable on Linux.
EDIT1: There another erros that show on Mac Os, i fix they in my computer, i gonna commit right now.
worked.
As the title gives: use of undeclared identifier 'HOST_NAME_MAX', when cmake, make under OS X 10.11.6