diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-13 16:26:13 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-11-13 16:26:13 +0000 |
commit | 1eeb0f31cd73d85a0db15ba3ace4e4d1691c4226 (patch) | |
tree | 524ca3dbe397004a33df3f6e67680d6f182b35e4 /ext/IO/IO.xs | |
parent | e0a10278435e0dff75e2ea63cd1637e4c4b4296c (diff) | |
download | perl-1eeb0f31cd73d85a0db15ba3ace4e4d1691c4226.tar.gz |
Continue largefileness separation from quadness;
move nv-preserving test out of perl.h into Configure;
use HAS_SETVBUF in IO.
p4raw-id: //depot/cfgperl@4560
Diffstat (limited to 'ext/IO/IO.xs')
-rw-r--r-- | ext/IO/IO.xs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/IO/IO.xs b/ext/IO/IO.xs index e614cffabb..e5ce83d948 100644 --- a/ext/IO/IO.xs +++ b/ext/IO/IO.xs @@ -357,8 +357,7 @@ setvbuf(handle, buf, type, size) int type int size CODE: -/* Should check HAS_SETVBUF once Configure tests for that */ -#if defined(PERLIO_IS_STDIO) && defined(_IOFBF) +#if defined(PERLIO_IS_STDIO) && defined(_IOFBF) && defined(HAS_SETVBUF) if (!handle) /* Try input stream. */ handle = IoIFP(sv_2io(ST(0))); if (handle) |