summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:51:25 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 11:51:25 +0000
commit2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f (patch)
treeada8ea9f2ed4be699d066737eab622e87b4ba42c /util.c
parenta25ef67de93be431e21193a0e7ed5fca8bc883f7 (diff)
downloadperl-2f42fcb0c2cd8c2699589848aee7b8ee07b30c4f.tar.gz
Apply much of Ilya's microperl patch, but instead of
implementing the opendir()/readdir()/closedir() using external commands give up "ANSI-pureness" and define them in uconfig.sh, also define other stuff like rename() and putenv(). Leave out the $| emulation in my_fork() since we are not supposed to have fork() under microperl. p4raw-id: //depot/perl@20646
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index ea0c43eb1b..cec92e2635 100644
--- a/util.c
+++ b/util.c
@@ -1516,6 +1516,7 @@ Perl_my_setenv(pTHX_ char *nam,char *val)
#endif /* WIN32 || NETWARE */
+#ifndef PERL_MICRO
I32
Perl_setenv_getix(pTHX_ char *nam)
{
@@ -1533,6 +1534,7 @@ Perl_setenv_getix(pTHX_ char *nam)
} /* potential SEGV's */
return i;
}
+#endif /* !PERL_MICRO */
#endif /* !VMS && !EPOC*/