From: Mathieu Desnoyers Date: Thu, 24 May 2012 14:22:56 +0000 (-0400) Subject: endian.h: support cygwin X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=0b8734858cb5d1dec4e8895bfbb5ad62cebc2b37 endian.h: support cygwin commit 2928fe5a335193a097da016b80cf046970b8ce36 upstream. Signed-off-by: Mathieu Desnoyers Signed-off-by: Christian Babeux --- 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