]> git.kaiwu.me - nginx.git/commit
Configure: GNU Hurd properly recognized.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 May 2015 14:58:13 +0000 (17:58 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 25 May 2015 14:58:13 +0000 (17:58 +0300)
commit226647e39742ab4e154c3e2546f7300952c3ee3f
treeb307c1718eeeb0a0d6548080141c859ef63e983c
parentb4619182bb53d0c65790ce9b0f67e744111f0831
Configure: GNU Hurd properly recognized.

With this change it's no longer needed to pass -D_GNU_SOURCE manually,
and -D_FILE_OFFSET_BITS=64 is set to use 64-bit off_t.

Note that nginx currently fails to work properly with master process
enabled on GNU Hurd, as fcntl(F_SETOWN) returns EOPNOTSUPP for sockets
as of GNU Hurd 0.6.  Additionally, our strerror() preloading doesn't
work well with GNU Hurd, as it uses large numbers for most errors.
auto/os/conf
src/os/unix/ngx_posix_config.h