doc: document _LARGEFILE_SOURCE + _FILE_OFFSET_BITS

This commit is contained in:
Ben Noordhuis 2013-02-20 17:11:50 +01:00
parent 30f6288347
commit 7048a80613

View File

@ -99,6 +99,9 @@ Macintosh users run
./gyp_uv -f xcode
xcodebuild -project uv.xcodeproj -configuration Release -target All
Note for UNIX users: compile your project with `-D_LARGEFILE_SOURCE` and
`-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`.