From b83435d1a29139c3bc135695d2173ece88519827 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 22 Dec 2003 08:23:55 +0000 Subject: * configure.in (ac_cv_func_setitimer): moved from defines.h * defines.h, rubysig.h, signal.c: removed macro handling which should be done in configure. * configure.in (intrinsics.h): check if present. * ruby.h: include intrinsics.h if available. * bignum.c, marshal.c: include ieeefp.h if available. * missing.h (isinf): define as a macro if finite() and isnan() are available. [ruby-core:02032] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- marshal.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'marshal.c') diff --git a/marshal.c b/marshal.c index d998293da..1a30ee07b 100644 --- a/marshal.c +++ b/marshal.c @@ -19,6 +19,9 @@ #ifdef HAVE_FLOAT_H #include #endif +#ifdef HAVE_IEEEFP_H +#include +#endif #define BITSPERSHORT (2*CHAR_BIT) #define SHORTMASK ((1<