Remove extra handling for big endian

The detection for big endian seems to work. But the special
handling for big endian is wrong. Only without it tests pass
under ppc64. Tested with Tumbleweed ppc64 image ran within
qemu-system-ppc64.
This commit is contained in:
Martchus 2019-01-12 04:53:05 +01:00
parent fe4d2b5778
commit a0dff23c26
1 changed files with 0 additions and 8 deletions

View File

@ -79,11 +79,7 @@ namespace ConversionUtilities {
*/
namespace BE {
#if defined(CONVERSION_UTILITIES_BYTE_ORDER_LITTLE_ENDIAN)
#define CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL 0
#elif defined(CONVERSION_UTILITIES_BYTE_ORDER_BIG_ENDIAN)
#define CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL 1
#endif
#include "./binaryconversionprivate.h"
#undef CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL
} // namespace BE
@ -94,11 +90,7 @@ namespace BE {
*/
namespace LE {
#if defined(CONVERSION_UTILITIES_BYTE_ORDER_LITTLE_ENDIAN)
#define CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL 1
#elif defined(CONVERSION_UTILITIES_BYTE_ORDER_BIG_ENDIAN)
#define CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL 0
#endif
#include "./binaryconversionprivate.h"
#undef CONVERSION_UTILITIES_BINARY_CONVERSION_INTERNAL
} // namespace LE