X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=nostdio.h;h=8aaa9503f6f8a6b951a05969dfee7354b99b4a27;hb=06c0cc96ebd866767a6d107ed78967600f7e0395;hp=9726114647b094225838ef27c8e22e946a3945a5;hpb=f2b1176c042dd0d792a0f916f759bd848210d4d8;p=p5sagit%2Fp5-mst-13.2.git diff --git a/nostdio.h b/nostdio.h index 9726114..8aaa950 100644 --- a/nostdio.h +++ b/nostdio.h @@ -1,6 +1,6 @@ /* nostdio.h * - * Copyright (c) 1987-2002, Larry Wall + * Copyright (C) 1996, 2000, 2001, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -111,7 +111,7 @@ struct _FILE; #define _flsbuf(c,f) _CANNOT _flsbuf_ #define fdopen(fd,p) _CANNOT _fdopen_ #define fileno(f) _CANNOT _fileno_ -#if SFIO_VERSION < 20000101L +#if defined(SFIO_VERSION) && SFIO_VERSION < 20000101L #define flockfile(f) _CANNOT _flockfile_ #define ftrylockfile(f) _CANNOT _ftrylockfile_ #define funlockfile(f) _CANNOT _funlockfile_