mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Split byte order routines out of utils.h
This commit is contained in:
@@ -68,6 +68,17 @@ namespace boost {
|
||||
#include <boost/ref.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
|
||||
// ByteOrder
|
||||
#ifdef WIN32
|
||||
// (nothing)
|
||||
#elif __APPLE__
|
||||
# include <libkern/OSByteOrder.h>
|
||||
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
# include <sys/endian.h>
|
||||
#elif defined(__OpenBSD__)
|
||||
# include <sys/types.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include "../ripple_json/ripple_json.h"
|
||||
@@ -81,6 +92,8 @@ namespace boost {
|
||||
#include "containers/ripple_SecureAllocator.h"
|
||||
#include "containers/ripple_TaggedCache.h"
|
||||
|
||||
#include "memory/ripple_ByteOrder.h"
|
||||
|
||||
#include "events/ripple_UptimeTimer.h"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user