|
|
@ -104,9 +104,9 @@ const char *Q_buildos( void ) |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
============ |
|
|
|
============ |
|
|
|
Q_buildos |
|
|
|
Q_buildarch |
|
|
|
|
|
|
|
|
|
|
|
Returns current name of operating system. Without any spaces. |
|
|
|
Returns current name of the architecture. Without any spaces. |
|
|
|
============ |
|
|
|
============ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
const char *Q_buildarch( void ) |
|
|
|
const char *Q_buildarch( void ) |
|
|
@ -134,14 +134,33 @@ const char *Q_buildarch( void ) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if XASH_ARM_HARDFP |
|
|
|
#if XASH_ARM_HARDFP |
|
|
|
"hf"; |
|
|
|
"hf" |
|
|
|
#else |
|
|
|
#else |
|
|
|
"l"; |
|
|
|
"l" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
; |
|
|
|
#elif XASH_MIPS && XASH_BIG_ENDIAN |
|
|
|
#elif XASH_MIPS && XASH_BIG_ENDIAN |
|
|
|
archname = "mips"; |
|
|
|
archname = "mips" |
|
|
|
#elif XASH_MIPS && XASH_LITTLE_ENDIAN |
|
|
|
#if XASH_64BIT |
|
|
|
archname = "mipsel"; |
|
|
|
"64" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#if XASH_LITTLE_ENDIAN |
|
|
|
|
|
|
|
"el" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
#elif XASH_RISCV |
|
|
|
|
|
|
|
archname = "riscv" |
|
|
|
|
|
|
|
#if XASH_64BIT |
|
|
|
|
|
|
|
"64" |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
"32" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#if XASH_RISCV_SINGLEFP |
|
|
|
|
|
|
|
"d" |
|
|
|
|
|
|
|
#elif XASH_RISCV_DOUBLEFP |
|
|
|
|
|
|
|
"f" |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
; |
|
|
|
#elif XASH_JS |
|
|
|
#elif XASH_JS |
|
|
|
archname = "javascript"; |
|
|
|
archname = "javascript"; |
|
|
|
#elif XASH_E2K |
|
|
|
#elif XASH_E2K |
|
|
|