Skip to content

Commit

Permalink
Fix MacOS-specific perf data issue.
Browse files Browse the repository at this point in the history
PullRequest: graal/16928
  • Loading branch information
medoussboug committed Feb 16, 2024
2 parents 4c287c7 + 8eec286 commit 97d302c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static class NoTransitions {
@CFunction(value = "openSII", transition = NO_TRANSITION)
public static native int open(CCharPointer pathname, int flags, int mode);

@CFunction(transition = NO_TRANSITION)
@CFunction(value = "openatISII", transition = NO_TRANSITION)
public static native int openat(int dirfd, @CConst CCharPointer pathname, int flags, int mode);

@CFunction(transition = NO_TRANSITION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ int openSII(const char *pathname, int flags, int mode)
return open(pathname, flags, mode);
}

int openatISII(int dirfd, const char *pathname, int flags, int mode)
{
return openat(dirfd, pathname, flags, mode);
}

#endif

0 comments on commit 97d302c

Please sign in to comment.