]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/w32/compat/dirent.c: [SV 57888] Use gnulib opendir on MinGW32
authorJens Rehsack <sno@netbsd.org>
Mon, 24 Feb 2020 10:12:43 +0000 (11:12 +0100)
committerPaul Smith <psmith@gnu.org>
Tue, 31 Mar 2020 04:50:21 +0000 (00:50 -0400)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Copyright-paperwork-exempt: yes

src/w32/compat/dirent.c

index b8ec6152f4594f9fbc9c0f7bb7db68a1e036375b..de80f7270840dd4c136a253d8723418e5cfa3d9c 100644 (file)
@@ -23,7 +23,7 @@ this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #include <stdlib.h>
 #include "dirent.h"
 
-
+#ifndef __MINGW32__
 DIR*
 opendir(const char* pDirName)
 {
@@ -193,3 +193,4 @@ seekdir(DIR* pDir, long nPosition)
 
         return;
 }
+#endif  /* !__MINGW32__ */