From: Michael Jeanson Date: Thu, 26 Jan 2017 20:09:21 +0000 (-0500) Subject: Port: add cygwin support to endian compat X-Git-Tag: v2.10.0-rc1~57 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=07bb6d71d12af83c72d9cc18a7488d6b15ceb440;p=lttng-tools.git Port: add cygwin support to endian compat Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/compat/endian.h b/src/common/compat/endian.h index 4edc12435..6427feb8d 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 /*