Avoiding compilation on systems with no working shared memory.
This commit is contained in:
@@ -314,6 +314,10 @@ nxt_port_new_port_mmap(nxt_task_t *task, nxt_process_t *process,
|
|||||||
nxt_errno);
|
nxt_errno);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#error No working shared memory implementation.
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (nxt_slow_path(ftruncate(fd, PORT_MMAP_SIZE) == -1)) {
|
if (nxt_slow_path(ftruncate(fd, PORT_MMAP_SIZE) == -1)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user