Port: add cygwin support to endian compat
[lttng-tools.git] / src / common / compat / endian.h
index 4edc12435aa7ae2d7a5de8652f5a47885f80472a..6427feb8df3e8aa032627299fde8f134116f3365 100644 (file)
@@ -18,7 +18,7 @@
 #ifndef _COMPAT_ENDIAN_H
 #define _COMPAT_ENDIAN_H
 
-#ifdef __linux__
+#if defined(__linux__) || defined(__CYGWIN__)
 #include <endian.h>
 
 /*
This page took 0.023118 seconds and 4 git commands to generate.