From b07b4ba78bfbdd57a2c6eea6891bcff84c648046 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 10 Jan 2007 15:06:58 +0000 Subject: [PATCH] MFB: fix ifdefs --- ext/standard/file.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/standard/file.h b/ext/standard/file.h index c85152efc6..bee1decfe0 100644 --- a/ext/standard/file.h +++ b/ext/standard/file.h @@ -60,8 +60,10 @@ PHP_FUNCTION(get_meta_tags); PHP_FUNCTION(flock); PHP_FUNCTION(fd_set); PHP_FUNCTION(fd_isset); -#if (!defined(__BEOS__) && HAVE_REALPATH) || defined(ZTS) +#if (!defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS) PHP_FUNCTION(realpath); +#endif +#ifdef HAVE_FNMATCH PHP_FUNCTION(fnmatch); #endif PHP_NAMED_FUNCTION(php_if_ftruncate); -- 2.50.1