build: remove _GNU_SOURCE macro definition
Compile libuv without -D_GNU_SOURCE, remove mention from the README. The only place where it's still used is in the test suite and only because test/test-fs.c uses struct stat directly.
This commit is contained in:
parent
8f3621e4dd
commit
d6464c87bd
@ -94,10 +94,6 @@ To build for android:
|
|||||||
Note for UNIX users: compile your project with `-D_LARGEFILE_SOURCE` and
|
Note for UNIX users: compile your project with `-D_LARGEFILE_SOURCE` and
|
||||||
`-D_FILE_OFFSET_BITS=64`. GYP builds take care of that automatically.
|
`-D_FILE_OFFSET_BITS=64`. GYP builds take care of that automatically.
|
||||||
|
|
||||||
Note for Linux users: compile your project with `-D_GNU_SOURCE` when you
|
|
||||||
include `uv.h`. GYP builds take care of that automatically. If you use
|
|
||||||
autotools, add a `AC_GNU_SOURCE` declaration to your `configure.ac`.
|
|
||||||
|
|
||||||
## Supported Platforms
|
## Supported Platforms
|
||||||
|
|
||||||
Microsoft Windows operating systems since Windows XP SP2. It can be built
|
Microsoft Windows operating systems since Windows XP SP2. It can be built
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user