diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-10 22:14:29 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-03-10 22:14:29 +0000 |
commit | 6a59c5176e3006cfaeb2d523fcac923c95ea495f (patch) | |
tree | 7a7660af917c01c675eef1b5acd4e51abd4c912d /ext/Encode | |
parent | db5fd3951bd11f350bba21084582656186031ed8 (diff) | |
download | perl-6a59c5176e3006cfaeb2d523fcac923c95ea495f.tar.gz |
Use #if defined(USE_PERLIO) && !defined(USE_SFIO) instead of just
#ifdef USE_PERLIO in Encode.xs so that the perlio symbols don't
pollute the symbolspace if using sfio.
p4raw-id: //depot/perl@9100
Diffstat (limited to 'ext/Encode')
-rw-r--r-- | ext/Encode/Encode.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/Encode/Encode.xs b/ext/Encode/Encode.xs index 1332adab7c..310c7ba59a 100644 --- a/ext/Encode/Encode.xs +++ b/ext/Encode/Encode.xs @@ -14,7 +14,7 @@ UNIMPLEMENTED(_encoded_utf8_to_bytes, I32) UNIMPLEMENTED(_encoded_bytes_to_utf8, I32) -#ifdef USE_PERLIO +#if defined(USE_PERLIO) && !defined(USE_SFIO) /* Define an encoding "layer" in the perliol.h sense. The layer defined here "inherits" in an object-oriented sense from the "perlio" layer with its PerlIOBuf_* "methods". @@ -640,7 +640,7 @@ _utf8_off(sv) BOOT: { -#ifdef USE_PERLIO +#if defined(USE_PERLIO) && !defined(USE_SFIO) PerlIO_define_layer(&PerlIO_encode); #endif #include "iso8859.def" |