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

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

Commit Message

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

Comments

Mathieu Desnoyers July 4, 2019, 6:54 p.m. UTC | #1
Both patches merged into master, 2.11, 2.10, 2.9, thanks!

Mathieu

----- On Jul 4, 2019, at 2:51 PM, Jonathan Rajotte jonathan.rajotte-julien at efficios.com wrote:

> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> include/lttng/bitfield.h | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/include/lttng/bitfield.h b/include/lttng/bitfield.h
> index 7faf23f9..92f1c2c9 100644
> --- a/include/lttng/bitfield.h
> +++ b/include/lttng/bitfield.h
> @@ -59,6 +59,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/include/lttng/bitfield.h b/include/lttng/bitfield.h
index 7faf23f9..92f1c2c9 100644
--- a/include/lttng/bitfield.h
+++ b/include/lttng/bitfield.h
@@ -59,6 +59,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)