Skip to content

Commit 3e0e2bb

Browse files
committed
Fix ifdefs
1 parent 5d75262 commit 3e0e2bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/standard/file.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ PHP_FUNCTION(get_meta_tags);
6060
PHP_FUNCTION(flock);
6161
PHP_FUNCTION(fd_set);
6262
PHP_FUNCTION(fd_isset);
63-
#if (!defined(__BEOS__) && HAVE_REALPATH) || defined(ZTS)
63+
#if (!defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
6464
PHP_FUNCTION(realpath);
65+
#endif
66+
#ifdef HAVE_FNMATCH
6567
PHP_FUNCTION(fnmatch);
6668
#endif
6769
PHP_NAMED_FUNCTION(php_if_ftruncate);

0 commit comments

Comments
 (0)