summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-04-28 08:44:28 +0000
committerSteve Hay <SteveHay@planit.com>2005-04-28 08:44:28 +0000
commit954fb84efff0b08c3cc7311c30925dbc511e7c11 (patch)
treec6f1b542046314a1afb13dc51fafca6617684221 /perlio.c
parentc2bfdfaf3f7731071c0d7c0684c538dffecf7ac6 (diff)
downloadperl-954fb84efff0b08c3cc7311c30925dbc511e7c11.tar.gz
Fix perlsio_binmode() export breakage caused by change #24338
Define and export perlsio_binmode() based on the same condition, namely, that USE_PERLIO is defined and USE_SFIO is not. p4raw-link: @24338 on //depot/perl: de009b76d60bdeb88f1d812ac755ae225805a071 p4raw-id: //depot/perl@24341
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index cf77059397..dae7f9bc89 100644
--- a/perlio.c
+++ b/perlio.c
@@ -112,8 +112,8 @@ int mkstemp(char*);
else \
SETERRNO(EBADF, SS_IVCHAN)
-#ifdef USE_SFIO
-static int
+#ifndef USE_SFIO
+int
perlsio_binmode(FILE *fp, int iotype, int mode)
{
/*