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.9.4~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=10e2171c69872571d7458c7af1c029bc431e0455;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 /*