X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FRts.h;h=565b0353c835c514d2450d2ce38a843c048c9f5a;hb=8a82d1837c37081ce1c7fa25ee18270b68fca339;hp=97924dc327cf0cd58cf6d9a6082abe3e27116dc4;hpb=7b9ff54a0ee85a3f54128e0787ad4b1d67286b01;p=ghc-hetmet.git diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index 97924dc..565b035 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Rts.h,v 1.17 2002/02/13 07:48:18 sof Exp $ + * $Id: Rts.h,v 1.19 2002/07/18 06:07:37 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -23,14 +23,6 @@ extern "C" { RTS Exit codes -------------------------------------------------------------------------- */ -#if ! defined(EXIT_SUCCESS) || ! defined(EXIT_FAILURE) -/* "stdlib.h" should have defined these; but at least - on SunOS 4.1.3, this is not so. -*/ -#define EXIT_SUCCESS 0 -#define EXIT_FAILURE 1 -#endif - /* 255 is allegedly used by dynamic linkers to report linking failure */ #define EXIT_INTERNAL_ERROR 254 #define EXIT_DEADLOCK 253 @@ -45,6 +37,14 @@ extern "C" { /* declarations for runtime flags/values */ #define MAX_RTS_ARGS 32 +#ifdef _WIN32 +/* On the yucky side..suppress -Wmissing-declarations warnings when + * including + */ +extern void* GetCurrentFiber ( void ); +extern void* GetFiberData ( void ); +#endif + /* ----------------------------------------------------------------------------- Assertions and Debuggery -------------------------------------------------------------------------- */