* 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