diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-21 17:01:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-11-21 17:01:16 +0000 |
commit | 0e32cd814ab750f37cd765de6c19a6a112c89a81 (patch) | |
tree | e9437eadb587a5acdf4c3963eb128d2dc2fdc970 /proto.h | |
parent | a6259068d1da929c6ca4f5acc9ed0401b5239600 (diff) | |
download | perl-0e32cd814ab750f37cd765de6c19a6a112c89a81.tar.gz |
Export the SOCKS workaround symbols only if necessary.
p4raw-id: //depot/perl@7791
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -247,13 +247,14 @@ PERL_CALLCONV I32 Perl_do_trans(pTHX_ SV* sv); PERL_CALLCONV UV Perl_do_vecget(pTHX_ SV* sv, I32 offset, I32 size); PERL_CALLCONV void Perl_do_vecset(pTHX_ SV* sv); PERL_CALLCONV void Perl_do_vop(pTHX_ I32 optype, SV* sv, SV* left, SV* right); -#ifdef SOCKS_64BIT_BUG -PERL_CALLCONV int Perl_do_getc(PerlIO* fp); -PERL_CALLCONV int Perl_do_ungetc(int ch, PerlIO* fp); -PERL_CALLCONV SSize_t Perl_do_fread(void *buf, SSize_t count, PerlIO* fp); -PERL_CALLCONV void Perl_do_s64_delete_buffer(PerlIO* fp); +#if defined(SOCKS_64BIT_BUG) +STATIC S64_IOB* S_s64_get_buffer(pTHX_ PerlIO* fp); PERL_CALLCONV Off_t Perl_do_s64_tell(PerlIO* fp); +PERL_CALLCONV SSize_t Perl_do_s64_fread(void *buf, SSize_t count, PerlIO* fp); +PERL_CALLCONV int Perl_do_s64_getc(PerlIO* fp); PERL_CALLCONV int Perl_do_s64_seek(PerlIO* fp, Off_t pos, int whence); +PERL_CALLCONV int Perl_do_s64_ungetc(int ch, PerlIO* fp); +PERL_CALLCONV void Perl_do_s64_delete_buffer(PerlIO* fp); #endif PERL_CALLCONV OP* Perl_dofile(pTHX_ OP* term); PERL_CALLCONV I32 Perl_dowantarray(pTHX); |