diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-25 18:32:51 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-25 18:32:51 +0000 |
commit | 251f6efd9e14713ca0c3df28770dc911fb446b7f (patch) | |
tree | f6702c997842d74c56a25ab84da7ed519b9dc312 | |
parent | 1b9c9cf5b717295753f7f7adb1f9d3d1cbaf5308 (diff) | |
download | perl-251f6efd9e14713ca0c3df28770dc911fb446b7f.tar.gz |
Allow microperl to assume <math.h>, without it the math
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
-rw-r--r-- | uconfig.h | 2 | ||||
-rwxr-xr-x | uconfig.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -774,7 +774,7 @@ * 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 diff --git a/uconfig.sh b/uconfig.sh index 35bb5a39f0..691d7cf03c 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -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' |