summaryrefslogtreecommitdiff
path: root/djgpp
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-26 11:55:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-26 11:55:59 +0000
commit2b96b0a587f7ad8b6305181755f2d821e8a640ff (patch)
tree4fa292494ffb6e8f53d5584008e5ba23e6fe8cd6 /djgpp
parent8dbfbba0c55b52c9acc258d9a3522ce8b76c3497 (diff)
downloadperl-2b96b0a587f7ad8b6305181755f2d821e8a640ff.tar.gz
DJGPP patches from Laszlo Molnar.
p4raw-id: //depot/perl@10951
Diffstat (limited to 'djgpp')
-rw-r--r--djgpp/djgpp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/djgpp/djgpp.c b/djgpp/djgpp.c
index 4e390cfc59..f235421ae3 100644
--- a/djgpp/djgpp.c
+++ b/djgpp/djgpp.c
@@ -1,3 +1,4 @@
+#define PERLIO_NOT_STDIO 0
#include <libc/stubs.h>
#include <io.h>
#include <errno.h>
@@ -27,7 +28,7 @@ struct pipe_list {
static struct pipe_list *pl = NULL;
FILE *
-popen (const char *cm, const char *md) /* program name, pipe mode */
+djgpp_popen (const char *cm, const char *md) /* program name, pipe mode */
{
struct pipe_list *l1;
int fd;
@@ -75,7 +76,7 @@ popen (const char *cm, const char *md) /* program name, pipe mode */
}
int
-pclose (FILE *pp)
+djgpp_pclose (FILE *pp)
{
struct pipe_list *l1, **l2; /* list pointers */
int retval=-1; /* function return value */