From c139bfe397554975e103bbb0db9b299a81d4c684 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 14 Mar 2019 22:53:15 +0100 Subject: [PATCH] :fire: windows func --- src/plug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plug.c b/src/plug.c index 027eb5a9..3ceb98d5 100644 --- a/src/plug.c +++ b/src/plug.c @@ -76,12 +76,12 @@ ANN PlugInfo* new_plug(const Vector list) { globfree(& results); #else _finddata_t filedata; - intptr_t file = _findfirst(c,&filedata); + intptr_t file = FindFirstFileA(c,&filedata); if(file != -1) { do plug_get(p, filedata.name); - while (_findnext(file,&filedata) == 0); + while(FindNextFile(file,&filedata) == 0); } - _findclose(file); + FindClose(file); #endif } return p; -- 2.43.0