From 3e0e2bb49d34514aff9f4114e68f024b6979b882 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 10 Jan 2007 14:40:06 +0000 Subject: [PATCH] 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 070397fa10..2b6fe2f2d1 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