[lttng-modules,1/2] Fix: missing define when not building with gcc
diff mbox series

Message ID 20190704200213.21186-1-jonathan.rajotte-julien@efficios.com
State Accepted, archived
Headers show
Series
  • [lttng-modules,1/2] Fix: missing define when not building with gcc
Related show

Commit Message

Jonathan Rajotte July 4, 2019, 8:02 p.m. UTC
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
 lib/bitfield.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Mathieu Desnoyers July 4, 2019, 8:14 p.m. UTC | #1
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

Patch
diff mbox series

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)