From: Anatol Belski Date: Fri, 17 Nov 2017 17:46:57 +0000 (+0100) Subject: Keep the compile time condition for the label use X-Git-Tag: php-7.3.0alpha1~998 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70427b11072815ac4b7b9cc0c511b2aa5f401b93;p=php Keep the compile time condition for the label use --- diff --git a/ext/standard/dir.c b/ext/standard/dir.c index 797ea1f701..cc518a40e6 100644 --- a/ext/standard/dir.c +++ b/ext/standard/dir.c @@ -493,7 +493,9 @@ PHP_FUNCTION(glob) /* now catch the FreeBSD style of "no matches" */ if (!globbuf.gl_pathc || !globbuf.gl_pathv) { +#ifdef GLOB_NOMATCH no_results: +#endif #ifndef PHP_WIN32 /* Paths containing '*', '?' and some other chars are illegal on Windows but legit on other platforms. For