Fix build warning when __GNUG__ isn't defined
This commit is contained in:
parent
e9c0a74063
commit
25917c780f
|
@ -188,7 +188,7 @@ template <> struct hb_int_max<signed long long> : hb_integral_constant<signed l
|
||||||
template <> struct hb_int_max<unsigned long long> : hb_integral_constant<unsigned long long, ULLONG_MAX> {};
|
template <> struct hb_int_max<unsigned long long> : hb_integral_constant<unsigned long long, ULLONG_MAX> {};
|
||||||
#define hb_int_max(T) hb_int_max<T>::value
|
#define hb_int_max(T) hb_int_max<T>::value
|
||||||
|
|
||||||
#if __GNUG__ && __GNUC__ < 5
|
#if defined(__GNUG__) && __GNUC__ < 5
|
||||||
#define hb_is_trivially_copyable(T) __has_trivial_copy(T)
|
#define hb_is_trivially_copyable(T) __has_trivial_copy(T)
|
||||||
#define hb_is_trivially_copy_assignable(T) __has_trivial_assign(T)
|
#define hb_is_trivially_copy_assignable(T) __has_trivial_assign(T)
|
||||||
#define hb_is_trivially_constructible(T) __has_trivial_constructor(T)
|
#define hb_is_trivially_constructible(T) __has_trivial_constructor(T)
|
||||||
|
|
Loading…
Reference in New Issue