Dep: Fix build on m1 mac

This commit is contained in:
Shauren
2023-03-25 00:06:32 +01:00
parent 6af42ce82d
commit da4eedf07b
3 changed files with 18 additions and 5 deletions

View File

@@ -35,7 +35,7 @@
# include <fnmatch.h>
# include <unistd.h>
# define _getcwd getcwd
# if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
# if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
# define stat64 stat
# endif
# define _stat stat