From 2b04bc7a747ee57dedad4ecdcc1a51ca83ec85fc Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 13 Sep 2012 14:13:21 +0200 Subject: [PATCH] doc: add note about -D_GNU_SOURCE --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ca8fc2e3..6789ffcb 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,9 @@ Macintosh users run ./gyp_uv -f xcode xcodebuild -project uv.xcodeproj -configuration Release -target All +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