Shove this behind a define for windows

This commit is contained in:
NepDisk 2025-08-28 19:16:32 -04:00
parent 1593ad8595
commit 722016f662

View file

@ -375,7 +375,9 @@ filestatus_t filesearch(char *filename, const char *startpath, UINT64 wantedhash
filestatus_t retval = FS_NOTFOUND;
DIR **dirhandle;
struct dirent *dent;
#ifndef _WIN32
struct stat fsstat;
#endif
int found = 0;
char *searchname = strdup(filename);
int depthleft = maxsearchdepth;