aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-02 13:29:18 +0000
committerRichard Stallman <rms@gnu.org>1993-05-02 13:29:18 +0000
commit5b23f690b7d035cb5b44d9e51ea45dd48858f796 (patch)
treefe31a2f2a691ceaa130c4052e09561158b06f71b /gcc
parent9853dfe03ee9c48aa592688d1f5408b3f749bcf3 (diff)
downloadgcc-5b23f690b7d035cb5b44d9e51ea45dd48858f796.zip
gcc-5b23f690b7d035cb5b44d9e51ea45dd48858f796.tar.gz
gcc-5b23f690b7d035cb5b44d9e51ea45dd48858f796.tar.bz2
(EDOM, ERANGE): Define only if not defined. (Less risky.)
From-SVN: r4303
Diffstat (limited to 'gcc')
-rw-r--r--gcc/real.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 518aaa8..b8d2eb8 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"*/