]> granicus.if.org Git - php/commitdiff
Fix ifdefs
authorHannes Magnusson <bjori@php.net>
Wed, 10 Jan 2007 14:40:06 +0000 (14:40 +0000)
committerHannes Magnusson <bjori@php.net>
Wed, 10 Jan 2007 14:40:06 +0000 (14:40 +0000)
ext/standard/file.h

index 070397fa1020b728921544652a76c94d4cbb3e69..2b6fe2f2d1729bbb057d4679187f17782047b6a9 100644 (file)
@@ -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);