|
|
|
@ -296,7 +296,16 @@ FT_BEGIN_HEADER |
|
|
|
|
#define FT_INT64 long |
|
|
|
|
#define FT_UINT64 unsigned long |
|
|
|
|
|
|
|
|
|
#elif defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */ |
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/* */ |
|
|
|
|
/* A 64-bit data type may create compilation problems if you compile */ |
|
|
|
|
/* in strict ANSI mode. To avoid them, we disable other 64-bit data */ |
|
|
|
|
/* types if __STDC__ is defined. You can however ignore this rule */ |
|
|
|
|
/* by defining the FT_CONFIG_OPTION_FORCE_INT64 configuration macro. */ |
|
|
|
|
/* */ |
|
|
|
|
#elif !defined( __STDC__ ) || defined( FT_CONFIG_OPTION_FORCE_INT64 ) |
|
|
|
|
|
|
|
|
|
#if defined( _MSC_VER ) && _MSC_VER >= 900 /* Visual C++ (and Intel C++) */ |
|
|
|
|
|
|
|
|
|
/* this compiler provides the __int64 type */ |
|
|
|
|
#define FT_LONG64 |
|
|
|
@ -330,30 +339,9 @@ FT_BEGIN_HEADER |
|
|
|
|
#define FT_INT64 long long int |
|
|
|
|
#define FT_UINT64 unsigned long long int |
|
|
|
|
|
|
|
|
|
#endif /* FT_SIZEOF_LONG == 8 */ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/* */ |
|
|
|
|
/* A 64-bit data type will create compilation problems if you compile */ |
|
|
|
|
/* in strict ANSI mode. To avoid them, we disable its use if __STDC__ */ |
|
|
|
|
/* is defined. You can however ignore this rule by defining the */ |
|
|
|
|
/* FT_CONFIG_OPTION_FORCE_INT64 configuration macro. */ |
|
|
|
|
/* */ |
|
|
|
|
#if defined( FT_LONG64 ) && !defined( FT_CONFIG_OPTION_FORCE_INT64 ) |
|
|
|
|
|
|
|
|
|
#ifdef __STDC__ |
|
|
|
|
#endif /* _MSC_VER */ |
|
|
|
|
|
|
|
|
|
/* Undefine the 64-bit macros in strict ANSI compilation mode. */ |
|
|
|
|
/* Since `#undef' doesn't survive in configuration header files */ |
|
|
|
|
/* we use the postprocessing facility of AC_CONFIG_HEADERS to */ |
|
|
|
|
/* replace the leading `/' with `#'. */ |
|
|
|
|
/undef FT_LONG64 |
|
|
|
|
/undef FT_INT64 |
|
|
|
|
|
|
|
|
|
#endif /* __STDC__ */ |
|
|
|
|
|
|
|
|
|
#endif /* FT_LONG64 && !FT_CONFIG_OPTION_FORCE_INT64 */ |
|
|
|
|
#endif /* FT_SIZEOF_LONG == 8 */ |
|
|
|
|
|
|
|
|
|
#ifdef FT_LONG64 |
|
|
|
|
typedef FT_INT64 FT_Int64; |
|
|
|
|