diff --git a/reader/util.cc b/reader/util.cc
index 31befb7d1905e98f126ce3d7bbc2b1e54118d38d..76cd6af8efc712725939a11fd0df084151e79c93 100644 (file)
--- a/reader/util.cc
+++ b/reader/util.cc
-#include "oberon.h"
+#include "reader/reader.h"
namespace odc {
- bool isBigEndian() { // http://stackoverflow.com/questions/1001307/detecting-endianness-programmatically-in-a-c-program
+ bool Reader::isBigEndian() { // http://stackoverflow.com/questions/1001307/detecting-endianness-programmatically-in-a-c-program
union {
uint32_t i;
uint8_t c[4];
return test.c[0] == 1;
}
- bool isLittleEndian() {
+ bool Reader::isLittleEndian() {
return !isBigEndian();
}
}