Ticket #1028: 0003-define_gnu_source-on-other-glibc-based-platforms.patch
| File 0003-define_gnu_source-on-other-glibc-based-platforms.patch, 532 bytes (added by , 10 years ago) |
|---|
-
src/os/unix/ngx_posix_config.h
Date: Sat, 16 Jul 2016 23:52:50 +0100 From: Steven Chamberlain <stevenc@debian.org> Subject: Use _GNU_SOURCE on GNU/kFreeBSD Define _GNU_SOURCE not only on GNU/Hurd, but also other glibc-based platforms including GNU/kFreeBSD.
a b 21 21 #endif 22 22 23 23 24 #if (NGX_GNU_HURD)24 #if defined(__GLIBC__) 25 25 #ifndef _GNU_SOURCE 26 26 #define _GNU_SOURCE /* accept4() */ 27 27 #endif 28 #endif 29 30 #if (NGX_GNU_HURD) 28 31 #define _FILE_OFFSET_BITS 64 29 32 #endif 30 33
