[lttng-modules,1/2] Fix: missing define when not building with gcc
Commit Message
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
lib/bitfield.h | 1 +
1 file changed, 1 insertion(+)
Comments
Both merged into master, 2.11, 2.10, 2.9, thanks!
Mathieu
----- On Jul 4, 2019, at 4:02 PM, Jonathan Rajotte jonathan.rajotte-julien at efficios.com wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> lib/bitfield.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/bitfield.h b/lib/bitfield.h
> index 2f7c01d..ebbe754 100644
> --- a/lib/bitfield.h
> +++ b/lib/bitfield.h
> @@ -44,6 +44,7 @@
> # define _BT_DIAG_PUSH
> # define _BT_DIAG_POP
> # define _BT_DIAG_IGNORE
> +# define _BT_DIAG_IGNORE_TYPE_LIMITS
> #endif
>
> #define _bt_is_signed_type(type) ((type) -1 < (type) 0)
> --
> 2.17.1
@@ -44,6 +44,7 @@
# define _BT_DIAG_PUSH
# define _BT_DIAG_POP
# define _BT_DIAG_IGNORE
+# define _BT_DIAG_IGNORE_TYPE_LIMITS
#endif
#define _bt_is_signed_type(type) ((type) -1 < (type) 0)