projects/aports·blob master · refs

16 lines · 448 B

1diff --git a/fitsio2.h b/fitsio2.h
2index d2369cf..9301d39 100644
3--- a/fitsio2.h
4+++ b/fitsio2.h
5@@ -151,6 +151,11 @@ extern int Fitsio_Pthread_Status;
6 # error "can't handle long size given by __riscv_xlen"
7 # endif
8
9+# elif defined(__loongarch64)
10+
11+#define BYTESWAPPED TRUE
12+#define LONGSIZE 64
13+
14 /* ============================================================== */
15 /* the following are all 32-bit byteswapped platforms */
16