endian.h: support cygwin
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 24 May 2012 14:22:56 +0000 (10:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 24 May 2012 14:22:56 +0000 (10:22 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-endian.h

index 2426b1467214634f8daa0bc472e995f55860d6ef..9ec7cd9b7abce38c7b85ab795a49da97483922cd 100644 (file)
@@ -18,7 +18,7 @@
  * modified is included with the above copyright notice.
  */
 
-#ifdef __linux__
+#if (defined(__linux__) || defined(__CYGWIN__))
 #include <endian.h>
 #elif defined(__FreeBSD__)
 #include <machine/endian.h>
This page took 0.025789 seconds and 4 git commands to generate.