summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-25 18:32:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-25 18:32:51 +0000
commit251f6efd9e14713ca0c3df28770dc911fb446b7f (patch)
treef6702c997842d74c56a25ab84da7ed519b9dc312
parent1b9c9cf5b717295753f7f7adb1f9d3d1cbaf5308 (diff)
downloadperl-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.h2
-rwxr-xr-xuconfig.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/uconfig.h b/uconfig.h
index 6509a268eb..40c7495248 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -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'