зеркало из https://github.com/stride3d/freetype.git
Windows 64-bit patch: change long to __int64 when necessary
This commit is contained in:
Родитель
90cc3051e8
Коммит
b1114a8bd9
|
@ -55,7 +55,11 @@ FT_BEGIN_HEADER
|
|||
/* on the context, these can represent distances in integer font */
|
||||
/* units, or 16.16, or 26.6 fixed-point pixel coordinates. */
|
||||
/* */
|
||||
typedef signed long FT_Pos;
|
||||
#ifdef _WIN64
|
||||
typedef signed __int64 FT_Pos;
|
||||
#else
|
||||
typedef signed long FT_Pos;
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
|
@ -235,7 +235,11 @@ FT_BEGIN_HEADER
|
|||
/* <Description> */
|
||||
/* A typedef for signed long. */
|
||||
/* */
|
||||
typedef signed long FT_Long;
|
||||
#ifdef _WIN64
|
||||
typedef signed __int64 FT_Long;
|
||||
#else
|
||||
typedef signed long FT_Long;
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -246,7 +250,11 @@ FT_BEGIN_HEADER
|
|||
/* <Description> */
|
||||
/* A typedef for unsigned long. */
|
||||
/* */
|
||||
typedef unsigned long FT_ULong;
|
||||
#ifdef _WIN64
|
||||
typedef unsigned __int64 FT_ULong;
|
||||
#else
|
||||
typedef unsigned long FT_ULong;
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -269,7 +277,11 @@ FT_BEGIN_HEADER
|
|||
/* A signed 26.6 fixed-point type used for vectorial pixel */
|
||||
/* coordinates. */
|
||||
/* */
|
||||
typedef signed long FT_F26Dot6;
|
||||
#ifdef _WIN64
|
||||
typedef signed __int64 FT_F26Dot6;
|
||||
#else
|
||||
typedef signed long FT_F26Dot6;
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
@ -281,7 +293,11 @@ FT_BEGIN_HEADER
|
|||
/* This type is used to store 16.16 fixed-point values, like scaling */
|
||||
/* values or matrix coefficients. */
|
||||
/* */
|
||||
typedef signed long FT_Fixed;
|
||||
#ifdef _WIN64
|
||||
typedef signed __int64 FT_Fixed;
|
||||
#else
|
||||
typedef signed long FT_Fixed;
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
|
|
Загрузка…
Ссылка в новой задаче