X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FStg.h;h=35f4eda63141ec0d0950461abf9fcf3534b54220;hb=8e3f4465c2a85e6328df52939c9e2429dc63aaca;hp=6ddf17a0a07e201dee8791f0c945dc8bf18870e6;hpb=c245355e6f2c7b7c95e9af910c4d420e13af9413;p=ghc-hetmet.git diff --git a/includes/Stg.h b/includes/Stg.h index 6ddf17a..35f4eda 100644 --- a/includes/Stg.h +++ b/includes/Stg.h @@ -31,6 +31,9 @@ */ #ifndef IN_STG_CODE # define IN_STG_CODE 1 +# define _ISOC99_SOURCE +// Turn on C99 for .hc code. This gives us the INFINITY and NAN +// constants from math.h, which we occasionally need to use in .hc (#1861) #endif #if IN_STG_CODE == 0 @@ -154,6 +157,10 @@ typedef StgWord StgWordArray[]; #include "MachRegs.h" #include "Regs.h" +#ifdef TICKY_TICKY +#include "TickyCounters.h" +#endif + #if IN_STG_CODE /* * This is included later for RTS sources, after definitions of