/*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* SPDX-License-Identifier: GPL-2.0-only
#define LTTNG_PACKED __attribute__((__packed__))
#endif
+#define is_signed(type) (((type) -1) < (type) 1)
+
/*
* Align value to the next multiple of align. Returns val if it already is a
* multiple of align. Align must be a power of two.