summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2000-10-23 16:39:32 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-24 18:59:48 +0000
commita7ffa9b9a1a8caeff31a83d25b70b5aca6ba0d12 (patch)
tree43180689a571f5dc8ed050ed33678a7d835c73b6 /config_h.SH
parent1724fb8e7df982f0fd79fb192e0146e474675132 (diff)
downloadperl-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.SH11
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: