mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Use different readdir on macOS depending on arch.
This commit is contained in:
@@ -109,7 +109,13 @@ $case IOS:
|
||||
$case MACOSX:
|
||||
$case TVOS:
|
||||
$case WATCHOS:
|
||||
|
||||
$if (env::ARCH_TYPE == X86_64)
|
||||
extern fn NativeDirentry* readdir(void*) @extern("readdir$INODE64");
|
||||
$else
|
||||
extern fn NativeDirentry* readdir(void*) @extern("readdir");
|
||||
$endif
|
||||
|
||||
struct NativeDirentry
|
||||
{
|
||||
usz ino;
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define COMPILER_VERSION "0.4.116"
|
||||
#define COMPILER_VERSION "0.4.117"
|
||||
Reference in New Issue
Block a user