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.}