--- a/src/common/RTMath.cpp 2021-12-25 18:37:48.733719298 +0800
+++ b/src/common/RTMath.cpp 2021-12-25 21:54:21.914927577 +0800
@@ -73,6 +73,10 @@
return t;
#elif defined(__APPLE__)
return (time_stamp_t) mach_absolute_time();
+#elif defined(__loongarch64)
+uint64_t t,
Relevant lines from build log:---libtool: compile: loongarch64-linux-gnu-g++ -std=gnu++14 -DHAVE_CONFIG_H -I. -I../.. -Wreturn-type -ffast-math -g -O2 -pthread -MT RTMath.lo -MD -MP -MF .deps/RTMath.Tpo -c RTMath.cpp -fPIC -DPIC -o .libs/RTMath.oRTMath.cpp:77:8: error: