summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-12 23:59:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-12 23:59:10 +0000
commit611857dafc005c6635506b1e2b7d9fe39988b812 (patch)
treeaf8d6122fd7c1bd9cea4f00c7648f9ff2f3fb3be
parenta8b85033e2cb7fce7725161d578c90e97dcff75f (diff)
downloadperl-611857dafc005c6635506b1e2b7d9fe39988b812.tar.gz
MPE/iX tweaks from Mark Bixby.
p4raw-id: //depot/perl@10539
-rw-r--r--hints/mpeix.sh1
-rw-r--r--mpeix/mpeixish.h2
-rw-r--r--util.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/hints/mpeix.sh b/hints/mpeix.sh
index d2ca5f09af..f6fd44c539 100644
--- a/hints/mpeix.sh
+++ b/hints/mpeix.sh
@@ -92,6 +92,7 @@ d_link='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
+d_memchr='define'
d_memcmp='define'
d_memcpy='define'
d_memmove='define'
diff --git a/mpeix/mpeixish.h b/mpeix/mpeixish.h
index 562462106b..8dba0a8109 100644
--- a/mpeix/mpeixish.h
+++ b/mpeix/mpeixish.h
@@ -137,3 +137,5 @@
#undef PRPASSWD
#undef PWAGE
#undef PWCOMMENT
+
+#define ITIMER_REAL 0
diff --git a/util.c b/util.c
index 81f413e966..d9e9c659a6 100644
--- a/util.c
+++ b/util.c
@@ -4980,6 +4980,7 @@ Perl_sv_realpath(pTHX_ SV *sv, char *path, STRLEN len)
return TRUE;
#else
+ {
DIR *parent;
Direntry_t *dp;
char dotdots[MAXPATHLEN] = { 0 };
@@ -5082,6 +5083,7 @@ Perl_sv_realpath(pTHX_ SV *sv, char *path, STRLEN len)
SvPOK_only(sv);
return TRUE;
+ }
#endif
#else
return FALSE;