mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
Fix archos detection on AIX ##port
This commit is contained in:
parent
4951f49441
commit
15b9924e75
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user