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
commit313eb6b0f53f24a4613688ed353d15e65f5daf85 (patch)
tree4fa292494ffb6e8f53d5584008e5ba23e6fe8cd6 /djgpp
parente7617899154e36c885ccfc79ab844fe9e593b09d (diff)
downloadperl-313eb6b0f53f24a4613688ed353d15e65f5daf85.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 */