endian.h: support cygwin
[lttng-ust.git] / include / lttng / ust-endian.h
index a626027eb4250344836373a587417c8099695aa0..9ec7cd9b7abce38c7b85ab795a49da97483922cd 100644 (file)
  * 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>
 #else
-#error "Please add support for your OS into lttng/ust-endian.h."
+#error "Please add support for your OS."
 #endif
 
 #ifndef FLOAT_WORD_ORDER
This page took 0.023537 seconds and 4 git commands to generate.