1From 4dd8b4f43aa0078707ad9a7932f4e137bc4383ed Mon Sep 17 00:00:00 2001 2From: Jens Rehsack <sno@netbsd.org> 3Date: Mon, 24 Feb 2020 11:12:43 +0100 4Subject: [PATCH 2/3] w32: compat: dirent.c: follow header 5 6src/w32/include/dirent.h completely delegates to mingw dirent implementation, 7gnulib detects it as fine and completely usable - trust in that. 8 9Signed-off-by: Jens Rehsack <sno@netbsd.org> 10--- 11Upstream-Status: Pending (https://savannah.gnu.org/bugs/?57888) 12 13 src/w32/compat/dirent.c | 3 ++- 14 1 file changed, 2 insertions(+), 1 deletion(-) 15 16diff --git a/src/w32/compat/dirent.c b/src/w32/compat/dirent.c 17index b8ec615..de80f72 100644 18--- a/src/w32/compat/dirent.c 19+++ b/src/w32/compat/dirent.c 20@@ -23,7 +23,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. */ 21 #include <stdlib.h> 22 #include "dirent.h" 23 24- 25+#ifndef __MINGW32__ 26 DIR* 27 opendir(const char* pDirName) 28 { 29@@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition) 30 31 return; 32 } 33+#endif /* !__MINGW32__ */ 34-- 352.17.1 36 37