From 5b23f690b7d035cb5b44d9e51ea45dd48858f796 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 2 May 1993 13:29:18 +0000 Subject: [PATCH] (EDOM, ERANGE): Define only if not defined. (Less risky.) From-SVN: r4303 --- gcc/real.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/real.c b/gcc/real.c index 518aaa8e6b0..b8d2eb8383c 100644 --- a/gcc/real.c +++ b/gcc/real.c @@ -991,6 +991,13 @@ ereal_isneg (x) #define TLOSS 5 /* total loss of precision */ #define PLOSS 6 /* partial loss of precision */ +#ifndef EDOM +#define EDOM 33 +#endif +#ifndef ERANGE +#define ERANGE 34 +#endif + /* e type constants used by high precision check routines */ /*include "ehead.h"*/