Merge pull request #8 from maservant/master

Fix missing endian.h error on Cygwin
pull/11/head
Lars Boegild Thomsen 6 years ago committed by GitHub
commit 785faaa9f4

@ -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