summaryrefslogtreecommitdiff
path: root/perlsdio.h
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2000-10-25 14:02:20 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-25 13:46:49 +0000
commitbd0e0981ad1b91dd1e1d75c33e1e405c39ceca34 (patch)
tree1d0f3a727b25057957996dd0282d6d4621caab0a /perlsdio.h
parent2305df61de56aa7ac63df86148cf0e4f5dc20cd3 (diff)
downloadperl-bd0e0981ad1b91dd1e1d75c33e1e405c39ceca34.tar.gz
patch 7416 breaks sv.c on AIX and HP-UX (patch included)
Message-Id: <20001025114712.C9F9.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@7433
Diffstat (limited to 'perlsdio.h')
-rw-r--r--perlsdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlsdio.h b/perlsdio.h
index 90ca5345fb..6ce82d80b3 100644
--- a/perlsdio.h
+++ b/perlsdio.h
@@ -110,11 +110,11 @@
#ifdef STDIO_PTR_LVALUE
#ifdef STDIO_PTR_LVAL_NOCHANGE_CNT
-#define PerlIO_set_ptrcnt(f,p,c) STMT_START {FILE_ptr(f) = (p), PerlIO_set_cnt(f,c)} STMT_END
+#define PerlIO_set_ptrcnt(f,p,c) STMT_START {FILE_ptr(f) = (p), PerlIO_set_cnt(f,c);} STMT_END
#else
#ifdef STDIO_PTR_LVAL_SETS_CNT
/* assert() may pre-process to ""; potential syntax error (FILE_ptr(), ) */
-#define PerlIO_set_ptrcnt(f,p,c) STMT_START {FILE_ptr(f) = (p); assert(FILE_cnt(f) == (c))} STMT_END
+#define PerlIO_set_ptrcnt(f,p,c) STMT_START {FILE_ptr(f) = (p); assert(FILE_cnt(f) == (c));} STMT_END
#define PerlIO_fast_gets(f) 1
#else
#define PerlIO_set_ptrcnt(f,p,c) abort()