mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-28 15:14:11 +02:00
Merge pull request #222 from jszakmeister/fix-byteswap-freebsd-and-openbsd
Don't include byteswap.h and FreeBSD and OpenBSD.
This commit is contained in:
commit
f6d0cd9a4b
@ -76,7 +76,8 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
||||
#else
|
||||
|
||||
#include <arpa/inet.h> /* __BYTE_ORDER */
|
||||
# if !defined(__APPLE__) && !(defined(__sun) && defined(__SVR4))
|
||||
# if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && \
|
||||
!(defined(__sun) && defined(__SVR4))
|
||||
# include <byteswap.h>
|
||||
# endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user