This simple change allows the library to be compiled under FreeBSD.
This commit is contained in:
parent
03ca83cb50
commit
3d1605009b
|
|
@ -126,6 +126,13 @@
|
|||
#define be64toh(x) betoh64(x)
|
||||
#define le64toh(x) letoh64(x)
|
||||
|
||||
/**
|
||||
* FreeBSD handling
|
||||
*/
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
#include <sys/endian.h>
|
||||
|
||||
/**
|
||||
* Not on apple, and not on windows
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue