Ditch 'historical compatibility' and use 'logic' instead
This commit is contained in:
parent
bba199e795
commit
8d70929d12
4 changed files with 38 additions and 63 deletions
|
@ -98,7 +98,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define PATH_SEP '\\'
|
||||
|
||||
#if defined( __WIN64__ )
|
||||
#define ARCH_STRING "x64"
|
||||
#define ARCH_STRING "x86_64"
|
||||
#elif defined _M_ALPHA
|
||||
#define ARCH_STRING "AXP"
|
||||
#endif
|
||||
|
@ -154,7 +154,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define ARCH_STRING "ppc"
|
||||
#define Q3_BIG_ENDIAN
|
||||
#elif defined __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#define ARCH_STRING "x86"
|
||||
#define Q3_LITTLE_ENDIAN
|
||||
#elif defined __x86_64__
|
||||
#undef idx64
|
||||
|
@ -184,7 +184,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define PATH_SEP '/'
|
||||
|
||||
#if defined __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined __x86_64__
|
||||
#undef idx64
|
||||
#define idx64 1
|
||||
|
@ -248,11 +248,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define PATH_SEP '/'
|
||||
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined __amd64__
|
||||
#undef idx64
|
||||
#define idx64 1
|
||||
#define ARCH_STRING "amd64"
|
||||
#define ARCH_STRING "x86_64"
|
||||
#elif defined __axp__
|
||||
#define ARCH_STRING "alpha"
|
||||
#endif
|
||||
|
@ -279,7 +279,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define PATH_SEP '/'
|
||||
|
||||
#ifdef __i386__
|
||||
#define ARCH_STRING "i386"
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined __sparc
|
||||
#define ARCH_STRING "sparc"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue