cmake: Define _GNU_SOURCE before checking for any symbols
-
cmake: Define _GNU_SOURCE before checking for any symbols
Some of the symbols we check for, such as close_range(), are only declared in their corresponding header files if _GNU_SOURCE was defined.
Resolves: #453 (closed)
-
sysdeps: Correct fallback signature of Linux close_range()
Linux generally declares syscalls with flags as type int. It's the same ABI, but a slightly different API, and it seems better for our fallback definition to match it exactly.
Related to #453 (closed).
Ready for review, but please don't merge until after I've released 1.15.8.
Not applicable to 1.14.x or older.
/cc @rhabacker