Add 'signed char' to the list of types we consider integers. Since 'char'
being signed or unsigned is implementation dependant, we have to
explicitly list 'char', 'signed char' and 'unsigned char' as integer
types.
Change-Id: I3aace2621f14f54e5d88d43de509a6cffde66c5b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
#define lttng_ust_is_integer_type(type) \
(__builtin_types_compatible_p(type, _Bool) || \
__builtin_types_compatible_p(type, char) || \
+ __builtin_types_compatible_p(type, signed char) || \
__builtin_types_compatible_p(type, unsigned char) || \
__builtin_types_compatible_p(type, short) || \
__builtin_types_compatible_p(type, unsigned short) || \