Split byte order routines out of utils.h

This commit is contained in:
Vinnie Falco
2013-05-25 16:32:08 -07:00
parent 4e8d4c28c2
commit 61fb6538d7
8 changed files with 122 additions and 73 deletions

View File

@@ -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