This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
RE: PeekMessage() call in win32\win32.c win32_async_check
[perl5.git] / nostdio.h
index f51cb20..8aaa950 100644 (file)
--- a/nostdio.h
+++ b/nostdio.h
@@ -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_