[lttng-dev] [PATCH lttng-tools 1/2] Port: add cygwin support to endian compat
Michael Jeanson
mjeanson at efficios.com
Thu Jan 26 20:09:21 UTC 2017
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
src/common/compat/endian.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/compat/endian.h b/src/common/compat/endian.h
index 4edc124..6427feb 100644
--- a/src/common/compat/endian.h
+++ b/src/common/compat/endian.h
@@ -18,7 +18,7 @@
#ifndef _COMPAT_ENDIAN_H
#define _COMPAT_ENDIAN_H
-#ifdef __linux__
+#if defined(__linux__) || defined(__CYGWIN__)
#include <endian.h>
/*
--
2.7.4
More information about the lttng-dev
mailing list