From 117f22e3d6e04317333484b3c49cfd9b65da56fa Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 16 Nov 2020 08:20:09 -0700 Subject: [PATCH] render build guide to "build.md" Also, tweak to follow a documentation convention. --- build.md | 7 +++++++ pkgs/racket-build-guide/contribute.scrbl | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.md b/build.md index 5579151916..35940f174c 100644 --- a/build.md +++ b/build.md @@ -841,6 +841,13 @@ that process faster by keeping a few guidelines in mind: where a change creates a new package dependency that will only be detected by a full `raco setup`. _Really:_ run `raco setup`. +* For changes to the C code, ensure your code follows the C99 standard. + + On Unix systems, extensions that are part of the `_DEFAULT_SOURCE` + pre-processor flag are also allowed. See the + [glibc](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fDEFAULT_005fSOURCE) + manual for more details. + ### 3.4. More Resources For additional pointers on how to contribute to Racket, see diff --git a/pkgs/racket-build-guide/contribute.scrbl b/pkgs/racket-build-guide/contribute.scrbl index 2a2346edab..188239d9b6 100644 --- a/pkgs/racket-build-guide/contribute.scrbl +++ b/pkgs/racket-build-guide/contribute.scrbl @@ -184,7 +184,7 @@ make that process faster by keeping a few guidelines in mind: @item{For changes to the C code, ensure your code follows the C99 standard. - On *nix systems, extensions that are part of the @exec{_DEFAULT_SOURCE} + On Unix systems, extensions that are part of the @exec{_DEFAULT_SOURCE} pre-processor flag are also allowed. See the @hyperlink["https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fDEFAULT_005fSOURCE"]{glibc} manual for more details.}