Shove this behind a define for windows
This commit is contained in:
parent
1593ad8595
commit
722016f662
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue