X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStg.h;h=8908cf3b154c91f6c37a916a05453743c8708619;hb=77435152125d6fc8e0be97d69827299e6607d225;hp=9e37b03a1cd1e330e2782f9f908c74d27eb54275;hpb=e778a17045aac8aded0e0438f5e0178643ff678d;p=ghc-hetmet.git diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 9e37b03..8908cf3 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.35 2001/02/09 13:09:17 simonmar Exp $ + * $Id: Stg.h,v 1.36 2001/03/01 12:25:32 rrt Exp $ * * (c) The GHC Team, 1998-1999 * @@ -41,6 +41,11 @@ /* Some macros to handle DLLing (Win32 only at the moment). */ #include "StgDLL.h" +/* Fix for mingw stat problem (done here so it's early enough) */ +#ifdef mingw32_TARGET_OS +#define __MSVCRT__ 1 +#endif + /* Turn lazy blackholing and eager blackholing on/off. * * Using eager blackholing makes things easier to debug because