summaryrefslogtreecommitdiffstats
path: root/contrib/gdtoa
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2007-12-17 00:19:49 +0000
committerdas <das@FreeBSD.org>2007-12-17 00:19:49 +0000
commita1995f00371f5d55165bf33c0d749fd75809a1ba (patch)
tree38c3a3e076a8331214d1f80d28fed0c2c2427e4a /contrib/gdtoa
parent3b586d8c223909e7bba06c352c59e1743b83ebf5 (diff)
downloadFreeBSD-src-a1995f00371f5d55165bf33c0d749fd75809a1ba.zip
FreeBSD-src-a1995f00371f5d55165bf33c0d749fd75809a1ba.tar.gz
On platforms where long is 64 bits, make sure gdtoa doesn't use a
long when it really wants an int.
Diffstat (limited to 'contrib/gdtoa')
-rw-r--r--contrib/gdtoa/gdtoaimp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/gdtoa/gdtoaimp.h b/contrib/gdtoa/gdtoaimp.h
index d11a6f5..0790b5e 100644
--- a/contrib/gdtoa/gdtoaimp.h
+++ b/contrib/gdtoa/gdtoaimp.h
@@ -169,6 +169,9 @@ THIS SOFTWARE.
#ifndef GDTOAIMP_H_INCLUDED
#define GDTOAIMP_H_INCLUDED
+
+#define Long int
+
#include "gdtoa.h"
#include "gd_qnan.h"
OpenPOWER on IntegriCloud