X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fcomm%2Frts-libs%2Fcoding-style.html;h=58f5b4f9bb485f448ae1e10f2884821c0e142cc2;hb=153b9cb9b11e05c4edb1b6bc0a7b972660e41f70;hp=3b3be390e33b0c8587f1143aec9854d3d524c08c;hpb=230850a2290e395b19729f880995e1ede672f80f;p=ghc-hetmet.git diff --git a/ghc/docs/comm/rts-libs/coding-style.html b/ghc/docs/comm/rts-libs/coding-style.html index 3b3be39..58f5b4f 100644 --- a/ghc/docs/comm/rts-libs/coding-style.html +++ b/ghc/docs/comm/rts-libs/coding-style.html @@ -108,7 +108,7 @@ POSIX-compliant to explicitly say so by having #include

  • Some architectures have memory alignment constraints. Others don't have any constraints but go faster if you align things. These -macros (from config.h) tell you which alignment to use +macros (from ghcconfig.h) tell you which alignment to use
       /* minimum alignment of unsigned int */
    @@ -160,12 +160,12 @@ co above).
     Avoid conditional code like this:
     
     
    -  #ifdef solaris_HOST_OS
    +  #ifdef solaris_host_OS
       // do something solaris specific
       #endif
     
    -Instead, add an appropriate test to the configure.in script and use +Instead, add an appropriate test to the configure.ac script and use the result of that test instead.