Skip to content

Commit

Permalink
Merge pull request #135 from jcharaoui/fixup-mipsel
Browse files Browse the repository at this point in the history
Fixup for MIPSEL support in Platform.java
  • Loading branch information
headius authored Dec 9, 2022
2 parents 8dbfc31 + 8327bc8 commit ab44c9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/kenai/jffi/Platform.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ private static CPU determineCPU() {
} else if (Util.equalsIgnoreCase("loongarch64", archString, LOCALE)) {
return CPU.LOONGARCH64;

} else if (Util.equalsIgnoreCase("mipsel", archString, LOCALE)) {
return CPU.MIPSEL;

} else if (Util.equalsIgnoreCase("mips64", archString, LOCALE) || Util.equalsIgnoreCase("mips64el", archString, LOCALE)) {
return CPU.MIPS64EL;
}
Expand Down

0 comments on commit ab44c9d

Please sign in to comment.