summaryrefslogtreecommitdiff
path: root/nostdio.h
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-08-09 01:21:48 -0500
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-08-09 11:24:54 +0000
commitcf2782cdafcea0f3c4f95a9125e1a5a110b9dfbc (patch)
tree4ec1ceffe21fbb93f8805230d86791475ff41997 /nostdio.h
parentd457d97aa74412bc6e46d98cb5ecab3d8c0837fb (diff)
downloadperl-cf2782cdafcea0f3c4f95a9125e1a5a110b9dfbc.tar.gz
Fix a couple of random warnings
Message-ID: <20050809112148.GA4902@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25279
Diffstat (limited to 'nostdio.h')
-rw-r--r--nostdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nostdio.h b/nostdio.h
index f51cb2014d..8aaa9503f6 100644
--- 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_