Skip to content

Commit d123e59

Browse files
committed
Disable on big endian arch
1 parent 482ece7 commit d123e59

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/random_gccdecimal32_comp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <boost/decimal/detail/config.hpp>
66

7-
#ifdef BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL
7+
#if defined(BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL) && defined(BOOST_DECIMAL_ENDIAN_LITTLE_BYTE)
88

99
#include <boost/decimal/gcc_decimal32.hpp>
1010
#include <boost/decimal/iostream.hpp>

test/random_gccdecimal32_math.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <boost/decimal/detail/config.hpp>
66

7-
#ifdef BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL
7+
#if defined(BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL) && defined(BOOST_DECIMAL_ENDIAN_LITTLE_BYTE)
88

99
#include <boost/decimal/gcc_decimal32.hpp>
1010
#include <boost/decimal/iostream.hpp>

test/test_basic_gcc_decimal32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <boost/decimal/detail/config.hpp>
88

9-
#ifdef BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL
9+
#if defined(BOOST_DECIMAL_HAS_LIBSTDCPP_DECIMAL) && defined(BOOST_DECIMAL_ENDIAN_LITTLE_BYTE)
1010

1111
#include <boost/decimal/decimal32.hpp>
1212
#include <boost/decimal/gcc_decimal32.hpp>

0 commit comments

Comments
 (0)