Allow microperl to assume <math.h>, without it the math
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 25 Aug 2000 18:32:51 +0000 (18:32 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 25 Aug 2000 18:32:51 +0000 (18:32 +0000)
functions like floor() are assumed to return int, which makes
for core dumps in machines where integer and floating register
don't mix.

p4raw-id: //depot/perl@6817

uconfig.h
uconfig.sh

index 6509a26..40c7495 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
  *     This symbol, if defined, indicates to the C program that it should
  *     include <math.h>.
  */
-/*#define I_MATH               / **/
+#define I_MATH         /**/
 
 /* I_MEMORY:
  *     This symbol, if defined, indicates to the C program that it should
index 35bb5a3..691d7cf 100755 (executable)
@@ -349,7 +349,7 @@ i_limits='undef'
 i_locale='undef'
 i_machcthr='undef'
 i_malloc='undef'
-i_math='undef'
+i_math='define'
 i_memory='undef'
 i_mntent='undef'
 i_ndbm='undef'