mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-05-29 23:42:40 +02:00
Merge pull request #138 from redboltz/move_byteswap
Moved include byteswap.h to sysdep.h.
This commit is contained in:
commit
e21e3245db
@ -68,7 +68,12 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#include <arpa/inet.h> /* __BYTE_ORDER */
|
#include <arpa/inet.h> /* __BYTE_ORDER */
|
||||||
|
# if !defined(__APPLE__)
|
||||||
|
# include <byteswap.h>
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
|
#if !defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
|
||||||
@ -185,4 +190,3 @@ typedef unsigned int _msgpack_atomic_counter_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* msgpack/sysdep.h */
|
#endif /* msgpack/sysdep.h */
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
#include "zone.hpp"
|
#include "zone.hpp"
|
||||||
#include "unpack_define.h"
|
#include "unpack_define.h"
|
||||||
#include "cpp_config.hpp"
|
#include "cpp_config.hpp"
|
||||||
|
#include "sysdep.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <byteswap.h>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user