Commit 3db151b4 authored by sof's avatar sof
Browse files

[project @ 2002-07-18 06:07:37 by sof]

EXIT_{FAILURE,SUCCESS}: it's time to let the re-definition of these age-old defines go..
parent 542dd0c2
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $Id: Rts.h,v 1.18 2002/02/14 16:58:13 sof Exp $ * $Id: Rts.h,v 1.19 2002/07/18 06:07:37 sof Exp $
* *
* (c) The GHC Team, 1998-1999 * (c) The GHC Team, 1998-1999
* *
...@@ -23,14 +23,6 @@ extern "C" { ...@@ -23,14 +23,6 @@ extern "C" {
RTS Exit codes 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 */ /* 255 is allegedly used by dynamic linkers to report linking failure */
#define EXIT_INTERNAL_ERROR 254 #define EXIT_INTERNAL_ERROR 254
#define EXIT_DEADLOCK 253 #define EXIT_DEADLOCK 253
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment