Skip to content

Commit d1fbbb1

Browse files
committed
Comment out prototypes for OSX symbols missing on < 10.12
1 parent 3214095 commit d1fbbb1

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

  • druntime/src/core/sys/posix/sys

druntime/src/core/sys/posix/sys/stat.d

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,10 +2030,12 @@ else version (Darwin)
20302030
int stat(const scope char*, stat_t*);
20312031
}
20322032
int fchmodat(int, const scope char*, mode_t, int);
2033-
int futimens(int, ref const(timespec)[2]);
20342033
int mkdirat(int, const scope char*, mode_t);
2035-
int mkfifoat(int, const scope char*, mode_t);
2036-
int utimensat(int, const scope char*, ref const(timespec)[2], int);
2034+
// OSX available starting 10.12
2035+
//int futimens(int, ref const(timespec)[2]);
2036+
//int utimensat(int, const scope char*, ref const(timespec)[2], int);
2037+
// OSX available starting 13
2038+
//int mkfifoat(int, const scope char*, mode_t);
20372039
}
20382040
else version (FreeBSD)
20392041
{

0 commit comments

Comments
 (0)