|
|
|
@ -178,8 +178,6 @@ |
|
|
|
|
/* Autoconf */ |
|
|
|
|
#if FT_SIZEOF_LONG == ( 64 / FT_CHAR_BIT ) |
|
|
|
|
|
|
|
|
|
/* `FT_LONG64` must be defined if a 64-bit type is available */ |
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 long |
|
|
|
|
#define FT_UINT64 unsigned long |
|
|
|
|
|
|
|
|
@ -194,14 +192,12 @@ |
|
|
|
|
|
|
|
|
|
#if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L |
|
|
|
|
|
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 long long int |
|
|
|
|
#define FT_UINT64 unsigned long long int |
|
|
|
|
|
|
|
|
|
#elif defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */ |
|
|
|
|
|
|
|
|
|
/* this compiler provides the `__int64` type */ |
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 __int64 |
|
|
|
|
#define FT_UINT64 unsigned __int64 |
|
|
|
|
|
|
|
|
@ -211,7 +207,6 @@ |
|
|
|
|
/* to test the compiler version. */ |
|
|
|
|
|
|
|
|
|
/* this compiler provides the `__int64` type */ |
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 __int64 |
|
|
|
|
#define FT_UINT64 unsigned __int64 |
|
|
|
|
|
|
|
|
@ -221,14 +216,12 @@ |
|
|
|
|
|
|
|
|
|
#elif defined( __MWERKS__ ) /* Metrowerks CodeWarrior */ |
|
|
|
|
|
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 long long int |
|
|
|
|
#define FT_UINT64 unsigned long long int |
|
|
|
|
|
|
|
|
|
#elif defined( __GNUC__ ) |
|
|
|
|
|
|
|
|
|
/* GCC provides the `long long` type */ |
|
|
|
|
#define FT_LONG64 |
|
|
|
|
#define FT_INT64 long long int |
|
|
|
|
#define FT_UINT64 unsigned long long int |
|
|
|
|
|
|
|
|
@ -236,7 +229,7 @@ |
|
|
|
|
|
|
|
|
|
#endif /* FT_SIZEOF_LONG == (64 / FT_CHAR_BIT) */ |
|
|
|
|
|
|
|
|
|
#ifdef FT_LONG64 |
|
|
|
|
#ifdef FT_INT64 |
|
|
|
|
typedef FT_INT64 FT_Int64; |
|
|
|
|
typedef FT_UINT64 FT_UInt64; |
|
|
|
|
#endif |
|
|
|
|