summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2007-09-27 12:33:37 +0000
committerDalibor Topic <robilad@yahoo.com>2007-09-27 12:33:37 +0000
commit03111edb686175e342c6275b7ac60732e16b03f5 (patch)
tree772c8dbdd425e3bbba1ba1711f873c3dee2fef54 /native
parent378ab251cbe59b9d66890e28bbe2fc8daf040494 (diff)
downloadclasspath-03111edb686175e342c6275b7ac60732e16b03f5.tar.gz
2007-09-27 Dalibor Topic <robilad@kaffe.org>
* native/fdlibm/dtoa.c: Include mprec.h after system includes. * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not already defined.
Diffstat (limited to 'native')
-rw-r--r--native/fdlibm/dtoa.c2
-rw-r--r--native/fdlibm/mprec.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/native/fdlibm/dtoa.c b/native/fdlibm/dtoa.c
index e710d96de..d344e247a 100644
--- a/native/fdlibm/dtoa.c
+++ b/native/fdlibm/dtoa.c
@@ -26,9 +26,9 @@
dmg@research.att.com or research!dmg
*/
-#include "mprec.h"
#include <string.h>
#include <stdlib.h>
+#include "mprec.h"
static int
_DEFUN (quorem,
diff --git a/native/fdlibm/mprec.h b/native/fdlibm/mprec.h
index 0efa2d989..1139b72f1 100644
--- a/native/fdlibm/mprec.h
+++ b/native/fdlibm/mprec.h
@@ -294,7 +294,9 @@ struct _Jv_Bigint
#define _SIGNED signed
#define _DOTS , ...
#define _VOID void
+#ifndef _EXFUN
#define _EXFUN(name, proto) name proto
+#endif /* !EXFUN */
#define _DEFUN(name, arglist, args) name(args)
#define _DEFUN_VOID(name) name(_NOARGS)
#define _CAST_VOID (void)