Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 65504c8 misplaced the #endif. The definition of _GNU_SOURCE is only needed for Cygwin. Defining _GNU_SOURCE on Linux results in compiler warnings because this macro is already defined by the compiler. Fix this by moving the #endif to the right place. In addition the code for Cygwin is made more robust: If a future Cygwin compiler defines _GNU_SOURCE, too, the code will still work. Signed-off-by: Stefan Weil <[email protected]>
- Loading branch information