aboutsummaryrefslogtreecommitdiffstats
path: root/trionan.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2003-08-13 11:09:42 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2003-08-13 11:09:42 +0000
commit476cd96411afbf77efa9f9b29ae1fe597978895a (patch)
tree62c4393c2af690648ef7c070bae1de5598086539 /trionan.c
parent6b621b8938f4e959765beab3c2c096f1d666bb10 (diff)
downloadandroid_external_libxml2-476cd96411afbf77efa9f9b29ae1fe597978895a.tar.gz
android_external_libxml2-476cd96411afbf77efa9f9b29ae1fe597978895a.tar.bz2
android_external_libxml2-476cd96411afbf77efa9f9b29ae1fe597978895a.zip
took away the requirement for automake-1.4, changed the messages for
* autogen.sh: took away the requirement for automake-1.4, changed the messages for getting auto* tools to current gnu pages. * configure.in, configure: added check for Linux Dec alpha requiring -ieee flag, fixed test for ipv6 * trionan.c: fixed problem for compiling on Linux Dec alpha using native compiler * doc/Makefile.am: implemented regeneration of win32/libxml2.def.src whenever libxml2-api.xml is changed.
Diffstat (limited to 'trionan.c')
-rw-r--r--trionan.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/trionan.c b/trionan.c
index 2e276d8a..1927ef36 100644
--- a/trionan.c
+++ b/trionan.c
@@ -51,7 +51,11 @@
# include <signal.h>
#endif
#if defined(TRIO_COMPILER_DECC)
-# include <fp_class.h>
+# if defined(__linux__)
+# include <cpml.h>
+# else
+# include <fp_class.h>
+# endif
#endif
#include <assert.h>
@@ -435,7 +439,7 @@ trio_isinf
TRIO_ARGS1((number),
double number)
{
-#if defined(TRIO_COMPILER_DECC)
+#if defined(TRIO_COMPILER_DECC) && !defined(__linux__)
/*
* DECC has an isinf() macro, but it works differently than that
* of C99, so we use the fp_class() function instead.