Merge pull request #8 from maservant/master
Fix missing endian.h error on Cygwin
This commit is contained in:
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…
Reference in New Issue