Fix missing endian.h error on Cygwin

pull/8/head
Marc-André Servant 6 years ago
parent 24777f805a
commit 2b153df286

@ -41,7 +41,7 @@
#define le64toh(x) OSSwapLittleToHostInt64(x)
#endif /* __APPLE__ */
#ifdef __linux__
#if defined(__linux__) || defined(__CYGWIN__)
# define _GNU_SOURCE
# include <endian.h>
#endif

Loading…
Cancel
Save