From 28a47037ab38ec4d4e0edd3812b0c6551bffc836 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Wed, 27 Aug 2025 07:57:07 -0400 Subject: [PATCH] Fix it using dword on MacOS --- src/filesrch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesrch.c b/src/filesrch.c index 6be21ab16..10f2ac3a8 100644 --- a/src/filesrch.c +++ b/src/filesrch.c @@ -429,7 +429,7 @@ filestatus_t filesearch(char *filename, const char *startpath, UINT64 wantedhash // okay, now we actually want searchpath to incorporate d_name strcpy(&searchpath[searchpathindex[depthleft]],dent->d_name); -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) if (dent->d_type == DT_UNKNOWN && lstat(searchpath, &fsstat) == 0) { if (S_ISDIR(fsstat.st_mode))