X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FStg.h;h=35f4eda63141ec0d0950461abf9fcf3534b54220;hb=b0ca990457eaf7991e72b13d0040d937b5759b36;hp=7f37783f4a6573f45b5ca496828042e1658cd002;hpb=4d33815f010cca43af60e921bdc9f5963d09a1ea;p=ghc-hetmet.git diff --git a/includes/Stg.h b/includes/Stg.h index 7f37783..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