summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--get_d.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/get_d.c b/get_d.c
index 42526e46e..cf02cae7d 100644
--- a/get_d.c
+++ b/get_d.c
@@ -28,8 +28,13 @@ MA 02111-1307, USA. */
#include "mpfr.h"
#include "mpfr-impl.h"
+#ifdef XDEBUG
+#undef _GMP_IEEE_FLOATS
+#endif
-static double mpfr_scale2 _PROTO ((double, int));
+#ifndef _GMP_IEEE_FLOATS
+#define _GMP_IEEE_FLOATS 0
+#endif
/* "double" NaN and infinities are written as explicit bytes to be sure of
getting what we want, and to be sure of not depending on libm.