nixio: solaris does not recognize LOG_PERROR
This commit is contained in:
parent
13767f5d1a
commit
5de4878257
1 changed files with 2 additions and 0 deletions
|
@ -35,7 +35,9 @@ static int nixio_openlog(lua_State *L) {
|
|||
} else if (!strcmp(flag, "pid")) {
|
||||
option |= LOG_PID;
|
||||
} else if (!strcmp(flag, "perror")) {
|
||||
#ifdef LOG_PERROR
|
||||
option |= LOG_PERROR;
|
||||
#endif
|
||||
} else if (!strcmp(flag, "ndelay")) {
|
||||
option |= LOG_NDELAY;
|
||||
} else if (!strcmp(flag, "odelay")) {
|
||||
|
|
Loading…
Reference in a new issue