Skip to content

Commit

Permalink
Fixup for MIPSEL support in Platform.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jcharaoui committed Dec 9, 2022
1 parent 37aa891 commit 8327bc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/kenai/jffi/Platform.java
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 8327bc8

Please sign in to comment.