From 168ab68f03483e371b38345c34bb6998b1f93f5c Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Sun, 18 Feb 2024 16:24:21 +0800 Subject: [PATCH] filesystem_utilities.c: use INODE64 on 64-bit, but not on 32-bit (#997) Closes: https://github.com/fortran-lang/fpm/issues/993 --- src/filesystem_utilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filesystem_utilities.c b/src/filesystem_utilities.c index 57b863b8ce..73f0c8aaa9 100644 --- a/src/filesystem_utilities.c +++ b/src/filesystem_utilities.c @@ -1,7 +1,7 @@ #include #include -#if defined(__APPLE__) && !defined(__aarch64__) && !defined(__POWERPC__) +#if defined(__APPLE__) && !defined(__aarch64__) && !defined(__ppc__) && !defined(__i386__) DIR * opendir$INODE64( const char * dirName ); struct dirent * readdir$INODE64( DIR * dir ); #define opendir opendir$INODE64