From: Mathieu Desnoyers Date: Thu, 24 May 2012 14:22:56 +0000 (-0400) Subject: endian.h: support cygwin X-Git-Tag: v2.1.0-rc1~78 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=2928fe5a335193a097da016b80cf046970b8ce36;p=lttng-ust.git endian.h: support cygwin Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-endian.h b/include/lttng/ust-endian.h index 2426b146..9ec7cd9b 100644 --- a/include/lttng/ust-endian.h +++ b/include/lttng/ust-endian.h @@ -18,7 +18,7 @@ * modified is included with the above copyright notice. */ -#ifdef __linux__ +#if (defined(__linux__) || defined(__CYGWIN__)) #include #elif defined(__FreeBSD__) #include