X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=nostdio.h;h=d1d7374f8016db94d240d7dd2f11972f57af9e06;hb=5f2d99664d8a6923d24892ffc0569f4e03e22edd;hp=f51cb2014de4d3af56e0b94e701acc01575f873a;hpb=4bb101f2758f169969171dfe6b70f68a406dcc1e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/nostdio.h b/nostdio.h index f51cb20..d1d7374 100644 --- a/nostdio.h +++ b/nostdio.h @@ -1,6 +1,6 @@ /* nostdio.h * - * Copyright (C) 1996, 2000, 2001, by Larry Wall and others + * Copyright (C) 1996, 2000, 2001, 2005, 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_