diff options
author | Nicholas Clark <nick@ccl4.org> | 2000-10-23 16:39:32 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-24 18:59:48 +0000 |
commit | a7ffa9b9a1a8caeff31a83d25b70b5aca6ba0d12 (patch) | |
tree | 43180689a571f5dc8ed050ed33678a7d835c73b6 /config_h.SH | |
parent | 1724fb8e7df982f0fd79fb192e0146e474675132 (diff) | |
download | perl-a7ffa9b9a1a8caeff31a83d25b70b5aca6ba0d12.tar.gz |
Check if stdio supports tweaking lval and cnt simultaneously.
Subject: PATCH (Re: PerlIO - Configure tweak for Linux/glibc?)
Message-ID: <20001023153932.A10786@plum.flirble.org>
p4raw-id: //depot/perl@7427
Diffstat (limited to 'config_h.SH')
-rw-r--r-- | config_h.SH | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index a209e6d29f..e34d920718 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2048,12 +2048,23 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * This symbol is defined if the FILE_cnt macro can be used as an * lvalue. */ +/* STDIO_PTR_LVAL_SETS_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n has the side effect of decreasing the + * value of File_cnt(fp) by n. + */ +/* STDIO_PTR_LVAL_NOCHANGE_CNT: + * This symbol is defined if using the FILE_ptr macro as an lvalue + * to increase the pointer by n leaves File_cnt(fp) unchanged. + */ #$d_stdstdio USE_STDIO_PTR /**/ #ifdef USE_STDIO_PTR #define FILE_ptr(fp) $stdio_ptr #$d_stdio_ptr_lval STDIO_PTR_LVALUE /**/ #define FILE_cnt(fp) $stdio_cnt #$d_stdio_cnt_lval STDIO_CNT_LVALUE /**/ +#$d_stdio_ptr_lval_sets_cnt STDIO_PTR_LVAL_SETS_CNT /**/ +#$d_stdio_ptr_lval_nochange_cnt STDIO_PTR_LVAL_NOCHANGE_CNT /**/ #endif /* USE_STDIO_BASE: |