*/
#include <stdint.h> /* C99 5.2.4.2 Numerical limits */
-#include <limits.h> /* C99 5.2.4.2 Numerical limits */
+#include <babeltrace/compat/limits.h> /* C99 5.2.4.2 Numerical limits */
#include <assert.h>
#include <babeltrace/endian.h> /* Non-standard BIG_ENDIAN, LITTLE_ENDIAN, BYTE_ORDER */
___v <<= final; \
})
-#define _bt_is_signed_type(type) (((type)(-1)) < 0)
+#define _bt_is_signed_type(type) ((type) -1 < (type) 0)
#define _bt_unsigned_cast(type, v) \
({ \