tstellar / rpms / asl

Forked from rpms/asl 3 years ago
Clone
Blob Blame History Raw
Index: asl-current/sysdefs.h
===================================================================
--- asl-current.orig/sysdefs.h
+++ asl-current/sysdefs.h
@@ -718,6 +718,34 @@ typedef unsigned long long Card64;
 
 #endif /* vax */
 
+#ifdef __aarch64__ 
+
+#define ARCHPRNAME "aarch64"
+
+/*---------------------------------------------------------------------------*/
+/* AArch64 with Linux and GCC: */
+
+#ifdef __linux__
+#define ARCHSYSNAME "unknown-linux"
+#define DEFSMADE
+#define OPENRDMODE "r"
+#define OPENWRMODE "w"
+#define OPENUPMODE "r+"
+#define IEEEFLOAT
+typedef signed char Integ8;
+typedef unsigned char Card8;
+typedef signed short Integ16;
+typedef unsigned short Card16;
+#define HAS16
+typedef signed int Integ32;
+typedef unsigned int Card32;
+typedef signed long Integ64;
+typedef unsigned long Card64;
+#define HAS64
+#define LOCALE_NLS
+#endif
+
+#endif /* __aarch64__ */
 /*===========================================================================*/
 /* DEC Alpha platforms */