[lttng-dev] [PATCH lttng-tools 1/2] Port: add cygwin support to endian compat

Jérémie Galarneau jeremie.galarneau at efficios.com
Tue Feb 14 20:56:47 UTC 2017


Both patches merged in master and stable-2.9.

Thanks!
Jérémie

On 26 January 2017 at 15:09, Michael Jeanson <mjeanson at efficios.com> wrote:
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
>  src/common/compat/endian.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/common/compat/endian.h b/src/common/compat/endian.h
> index 4edc124..6427feb 100644
> --- a/src/common/compat/endian.h
> +++ b/src/common/compat/endian.h
> @@ -18,7 +18,7 @@
>  #ifndef _COMPAT_ENDIAN_H
>  #define _COMPAT_ENDIAN_H
>
> -#ifdef __linux__
> +#if defined(__linux__) || defined(__CYGWIN__)
>  #include <endian.h>
>
>  /*
> --
> 2.7.4
>



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com


More information about the lttng-dev mailing list