Synchronize with gnulib (#49448).
* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in, builds/vms/ftconfig.h (FT_TYPEOF): Update code to use definition in current version of `intprops.h'. Other minor synchronization to reduce code differences between the three files.
This commit is contained in:
parent
b72858c992
commit
57f73d1f77
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2016-10-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Synchronize with gnulib (#49448).
|
||||
|
||||
* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in,
|
||||
builds/vms/ftconfig.h (FT_TYPEOF): Update code to use definition in
|
||||
current version of `intprops.h'.
|
||||
Other minor synchronization to reduce code differences between the
|
||||
three files.
|
||||
|
||||
2016-11-03 Behdad Esfahbod <behdad@behdad.org>
|
||||
|
||||
[truetype] Clamp variation requests to valid range.
|
||||
|
@ -368,10 +368,10 @@ FT_BEGIN_HEADER
|
||||
|
||||
|
||||
/* typeof condition taken from gnulib's `intprops.h' header file */
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
defined( __IBM__TYPEOF__ ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) (__typeof__ (type))
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
( __IBMC__ >= 1210 && defined( __IBM__TYPEOF__ ) ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) ( __typeof__ ( type ) )
|
||||
#else
|
||||
#define FT_TYPEOF( type ) /* empty */
|
||||
#endif
|
||||
|
@ -116,6 +116,14 @@ FT_BEGIN_HEADER
|
||||
#endif
|
||||
|
||||
|
||||
/* Fix compiler warning with sgi compiler */
|
||||
#if defined( __sgi ) && !defined( __GNUC__ )
|
||||
#if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 )
|
||||
#pragma set woff 3505
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* <Section> */
|
||||
@ -311,10 +319,10 @@ FT_BEGIN_HEADER
|
||||
|
||||
|
||||
/* typeof condition taken from gnulib's `intprops.h' header file */
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
defined( __IBM__TYPEOF__ ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) (__typeof__ (type))
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
( __IBMC__ >= 1210 && defined( __IBM__TYPEOF__ ) ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) ( __typeof__ ( type ) )
|
||||
#else
|
||||
#define FT_TYPEOF( type ) /* empty */
|
||||
#endif
|
||||
|
@ -143,6 +143,14 @@ FT_BEGIN_HEADER
|
||||
#endif
|
||||
|
||||
|
||||
/* Fix compiler warning with sgi compiler */
|
||||
#if defined( __sgi ) && !defined( __GNUC__ )
|
||||
#if defined( _COMPILER_VERSION ) && ( _COMPILER_VERSION >= 730 )
|
||||
#pragma set woff 3505
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
/* <Section> */
|
||||
@ -338,10 +346,10 @@ FT_BEGIN_HEADER
|
||||
|
||||
|
||||
/* typeof condition taken from gnulib's `intprops.h' header file */
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
defined( __IBM__TYPEOF__ ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) (__typeof__ (type))
|
||||
#if ( __GNUC__ >= 2 || \
|
||||
( __IBMC__ >= 1210 && defined( __IBM__TYPEOF__ ) ) || \
|
||||
( __SUNPRO_C >= 0x5110 && !__STDC__ ) )
|
||||
#define FT_TYPEOF( type ) ( __typeof__ ( type ) )
|
||||
#else
|
||||
#define FT_TYPEOF( type ) /* empty */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user