From: Jens Rehsack Date: Mon, 24 Feb 2020 10:12:43 +0000 (+0100) Subject: * src/w32/compat/dirent.c: [SV 57888] Use gnulib opendir on MinGW32 X-Git-Tag: 4.3.90~227 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61c413d5ea98593b204739604966f3ada7e29118;p=thirdparty%2Fmake.git * src/w32/compat/dirent.c: [SV 57888] Use gnulib opendir on MinGW32 Signed-off-by: Jens Rehsack Copyright-paperwork-exempt: yes --- diff --git a/src/w32/compat/dirent.c b/src/w32/compat/dirent.c index b8ec6152..de80f727 100644 --- a/src/w32/compat/dirent.c +++ b/src/w32/compat/dirent.c @@ -23,7 +23,7 @@ this program. If not, see . */ #include #include "dirent.h" - +#ifndef __MINGW32__ DIR* opendir(const char* pDirName) { @@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition) return; } +#endif /* !__MINGW32__ */