From 70427b11072815ac4b7b9cc0c511b2aa5f401b93 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 17 Nov 2017 18:46:57 +0100 Subject: [PATCH] Keep the compile time condition for the label use --- ext/standard/dir.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1