Attempt #1 at supporting Intel and AMD 64-bit arch
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2342 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -85,7 +85,7 @@ typedef char CHAR;
|
|||||||
|
|
||||||
/*@DOES_NOT_HAVE_SIGNED@*/
|
/*@DOES_NOT_HAVE_SIGNED@*/
|
||||||
|
|
||||||
#if defined(__alpha)
|
#if defined(__arch64__) || defined(__alpha) || defined(__x86_64)
|
||||||
/* 64 bit architectures */
|
/* 64 bit architectures */
|
||||||
|
|
||||||
typedef signed char SBYTE; /* 1 byte, signed */
|
typedef signed char SBYTE; /* 1 byte, signed */
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ extern "C" {
|
|||||||
/*========== More type definitions */
|
/*========== More type definitions */
|
||||||
|
|
||||||
/* SLONGLONG: 64bit, signed */
|
/* SLONGLONG: 64bit, signed */
|
||||||
#if defined(__alpha)
|
#if defined(__arch64__) || defined(__alpha) || defined(__x86_64)
|
||||||
typedef long SLONGLONG;
|
typedef long SLONGLONG;
|
||||||
#define NATIVE_64BIT_INT
|
#define NATIVE_64BIT_INT
|
||||||
#elif defined(__WATCOMC__)
|
#elif defined(__WATCOMC__)
|
||||||
|
|||||||
Reference in New Issue
Block a user