3
0
Fork 0
small_fixes
kelson42 16 years ago
parent fef93ed3b4
commit c01bf51a75

@ -24,6 +24,9 @@
#include <iostream>
#include <zim/zim.h>
namespace zim
{
/// Returns true, if machine is big-endian (high byte first).
/// e.g. PowerPC
inline bool isBigEndian()
@ -114,5 +117,7 @@ T fromBigEndian(const T* ptr, bool bigEndian = isBigEndian())
}
}
}
#endif // ENDIAN_H

Loading…
Cancel
Save