summaryrefslogtreecommitdiff
path: root/perlsdio.h
diff options
context:
space:
mode:
authorDaniel MuiƱo <dmuino@afip.gov.ar>2000-08-14 13:58:11 -0300
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-14 20:48:50 +0000
commit25259385426119fb5acf8b2dd97ac8cc49d2e21f (patch)
treeb098e6665e2cd83fd3a27d27401d2dd2b11bd0a2 /perlsdio.h
parent29de93916e366a4e2dd15cfdd2f0e6ed09e4e1da (diff)
downloadperl-25259385426119fb5acf8b2dd97ac8cc49d2e21f.tar.gz
sfio2000
Message-ID: <20000814165811.B16368@con2-dgi> p4raw-id: //depot/perl@6624
Diffstat (limited to 'perlsdio.h')
-rw-r--r--perlsdio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perlsdio.h b/perlsdio.h
index 7afda68191..c4a1179a41 100644
--- a/perlsdio.h
+++ b/perlsdio.h
@@ -213,9 +213,11 @@
#define _flsbuf(c,f) _CANNOT _flsbuf_
#define fdopen(fd,p) _CANNOT _fdopen_
#define fileno(f) _CANNOT _fileno_
+#if SFIO_VERSION < 20000101L
#define flockfile(f) _CANNOT _flockfile_
#define ftrylockfile(f) _CANNOT _ftrylockfile_
#define funlockfile(f) _CANNOT _funlockfile_
+#endif
#define getc_unlocked(f) _CANNOT _getc_unlocked_
#define putc_unlocked(c,f) _CANNOT _putc_unlocked_
#define popen(c,m) _CANNOT _popen_
@@ -315,9 +317,11 @@
#define _flsbuf(c,f) _CANNOT _flsbuf_
#define getw(f) _CANNOT _getw_
#define putw(v,f) _CANNOT _putw_
+#if SFIO_VERSION < 20000101L
#define flockfile(f) _CANNOT _flockfile_
#define ftrylockfile(f) _CANNOT _ftrylockfile_
#define funlockfile(f) _CANNOT _funlockfile_
+#endif
#define freopen(p,m,f) _CANNOT _freopen_
#define setbuf(f,b) _CANNOT _setbuf_
#define setvbuf(f,b,x,s) _CANNOT _setvbuf_