3 extern const uint32_t FAR_VERSION
;
4 extern const char *FAR_BUILD
;
6 extern const char *Copyright
;
8 #if defined(__x86_64__)
9 #define FAR_PLATFORM "x64"
10 #elif defined(__ppc64__)
11 #define FAR_PLATFORM "ppc64"
12 #elif defined(__arm64__) || defined(__aarch64__)
13 #define FAR_PLATFORM "arm64"
14 #elif defined(__arm__)
15 #define FAR_PLATFORM "arm"
16 #elif defined(__mips__)
18 #define FAR_PLATFORM "mipsel"
20 #define FAR_PLATFORM "mips"
22 #elif defined(__e2k__)
23 #define FAR_PLATFORM "e2k"
24 #elif defined(__riscv)
25 #if __riscv_xlen == 64
26 #define FAR_PLATFORM "rv64"
28 #define FAR_PLATFORM "rv32"
30 #elif defined(__i386__)
31 #define FAR_PLATFORM "x86"
33 #define FAR_PLATFORM "unknown"