Fix archos detection on AIX ##port

This commit is contained in:
Richard Patel 2023-12-07 08:31:28 +01:00 committed by pancake
parent 4951f49441
commit 15b9924e75
2 changed files with 2 additions and 13 deletions

View File

@ -5,19 +5,6 @@
#include <r_util.h>
#if __i386__
#define R2R_ARCH "x86"
#elif __x86_64__
#define R2R_ARCH "x64"
#elif __arm64__ || __aarch64__
#define R2R_ARCH "arm64"
#elif __arm__
#define R2R_ARCH "arm"
#elif __mips__
#define R2R_ARCH "mips"
#else
#define R2R_ARCH "unknown"
#endif
#define R2R_ARCH_OS R_SYS_OS "-"R_SYS_ARCH
typedef struct r2r_cmd_test_string_record {

View File

@ -705,6 +705,8 @@ typedef enum {
#define R_SYS_OS "freebsd"
#elif defined (__HAIKU__)
#define R_SYS_OS "haiku"
#elif defined (_AIX)
#define R_SYS_OS "aix"
#else
#define R_SYS_OS "unknown"
#endif