mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
+ fix
This commit is contained in:
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…
x
Reference in New Issue
Block a user