summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:48:18 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:48:18 +0000
commit3be9dc8e1471fcf5f461d31e8492d14046ab26c3 (patch)
tree8c38a44532b13683aa9ec030649f30bab6c90dd8
parenta77dcecfd4d0083b25b3fdcd4f033143ab6d4397 (diff)
* include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h.
* include/gmp.h: Include/gmp-mparam.h. * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and gmp-impl.h. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
-rw-r--r--ChangeLog6
-rw-r--r--include/gmp.h4
-rw-r--r--stdlib/strtod.c4
3 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9924187478..0e2eb34e0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-03-14 Alexandre Oliva <aoliva@redhat.com>
+ * include/gmp.h: Include/gmp-mparam.h.
+ * stdlib/strtod.c: Include gmp-mparam.h before gmp.h and
+ gmp-impl.h.
+
+2003-03-14 Alexandre Oliva <aoliva@redhat.com>
+
* elf/dl-conflict.c: Don't compile _dl_resolve_conflicts if
ELF_MACHINE_NO_RELA is set.
* elf/rtld.c (dl_main): No prelink support for REL-only.
diff --git a/include/gmp.h b/include/gmp.h
index ff26658d93..b74167097d 100644
--- a/include/gmp.h
+++ b/include/gmp.h
@@ -1,3 +1,7 @@
+/* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
+ and _LONG_LONG_LIMB in it can take effect into gmp.h. */
+#include <gmp-mparam.h>
+
#ifndef __GMP_H__
#include <stdlib/gmp.h>
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index ef74b3d9f5..820307a0ec 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -64,9 +64,11 @@
/* The gmp headers need some configuration frobs. */
#define HAVE_ALLOCA 1
+/* Include gmp-mparam.h first, such that definitions of _SHORT_LIMB
+ and _LONG_LONG_LIMB in it can take effect into gmp.h. */
+#include <gmp-mparam.h>
#include <gmp.h>
#include <gmp-impl.h>
-#include <gmp-mparam.h>
#include <longlong.h>
#include "fpioconst.h"