endian.h: support cygwin
[lttng-ust.git] / 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.022482 seconds and 4 git commands to generate.