Skip to content

Commit 68d0f09

Browse files
committed
Add support for loongarch64
1 parent ad47dc3 commit 68d0f09

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bindings/java/hyperic_jni/src/org/hyperic/jni/ArchNameTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ else if (ArchLoader.IS_AIX) {
7575
if (ArchName.is64()) {
7676
getProject().setProperty("jni.arch64", "true");
7777
if (ArchLoader.IS_LINUX) {
78-
if (!osArch.equals("ia64")) {
78+
if (!osArch.equals("ia64") && !osArch.equals("loongarch64")) {
7979
getProject().setProperty("jni.gccm", "-m64");
8080
}
8181
}

src/os/linux/linux_sigar.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <sys/stat.h>
2525
#include <sys/times.h>
2626
#include <sys/utsname.h>
27+
#include <sys/sysmacros.h>
2728

2829
#include "sigar.h"
2930
#include "sigar_private.h"

0 commit comments

Comments
 (0)