Skip to content

Commit

Permalink
add ENODATA on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Aug 30, 2023
1 parent aa7c036 commit 8bae1e5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions jfuse-mac/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
<includeConstant>ERANGE</includeConstant>
<includeConstant>ENOLCK</includeConstant>
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,9 @@ public int enolck() {
public int enametoolong() {
return errno_h.ENAMETOOLONG();
}

@Override
public int enodata() {
return errno_h.ENODATA();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ public static int ENOLCK() {
public static int ENOSYS() {
return (int)78L;
}
/**
* {@snippet :
* #define ENODATA 96
* }
*/
public static int ENODATA() {
return (int)96L;
}
}


0 comments on commit 8bae1e5

Please sign in to comment.