Skip to content
Snippets Groups Projects
Commit 4c8f1432 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Merge branch 'develop' into qt5_port

parents e75d64c7 b9782771
Branches
Tags
No related merge requests found
...@@ -20,14 +20,21 @@ ...@@ -20,14 +20,21 @@
#ifndef OST_IO_CONVERT_H #ifndef OST_IO_CONVERT_H
#define OST_IO_CONVERT_H #define OST_IO_CONVERT_H
// endian macros deprecated in Boost 1.68
#if BOOST_VERSION<106800
#include <boost/detail/endian.hpp> #include <boost/detail/endian.hpp>
#ifdef BOOST_BIG_ENDIAN
#define BOOST_ENDIAN_BIG_BYTE
#endif
#else
#include <boost/predef/other/endian.h>
#endif
namespace ost { namespace io { namespace ost { namespace io {
enum Endianess { enum Endianess {
OST_BIG_ENDIAN,OST_LITTLE_ENDIAN,OST_VAX_DATA, OST_BIG_ENDIAN,OST_LITTLE_ENDIAN,OST_VAX_DATA,
#ifdef BOOST_BIG_ENDIAN #ifdef BOOST_ENDIAN_BIG_BYTE
OST_LOCAL_ENDIAN = OST_BIG_ENDIAN OST_LOCAL_ENDIAN = OST_BIG_ENDIAN
#else #else
OST_LOCAL_ENDIAN = OST_LITTLE_ENDIAN OST_LOCAL_ENDIAN = OST_LITTLE_ENDIAN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment