Skip to content
Snippets Groups Projects
Commit cb0dbdaf authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix glob() for Win64

_fintfirst() is declared in the Mingw-w64 headers as an intptr_t,
which tracks.  Can't find _findfirst on MSDN, so that's good enough
for me... let's see what the pipeline says.
parent 6ca9a141
Branches
Tags
No related merge requests found
Pipeline #5935 passed
...@@ -231,7 +231,7 @@ int glob(const char *pattern, int flags, void* unused, glob_t* glob) ...@@ -231,7 +231,7 @@ int glob(const char *pattern, int flags, void* unused, glob_t* glob)
int glob(const char *pattern, int flags, void* unused, glob_t* glob) int glob(const char *pattern, int flags, void* unused, glob_t* glob)
{ {
struct _finddata_t ff; struct _finddata_t ff;
long ff_handle; intptr_t ff_handle;
size_t found=0; size_t found=0;
char path[MAX_PATH+1]; char path[MAX_PATH+1];
char* p; char* p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment