mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-24 04:20:56 -04:00
+ fix
This commit is contained in:
parent
fef93ed3b4
commit
c01bf51a75
@ -24,6 +24,9 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <zim/zim.h>
|
#include <zim/zim.h>
|
||||||
|
|
||||||
|
namespace zim
|
||||||
|
{
|
||||||
|
|
||||||
/// Returns true, if machine is big-endian (high byte first).
|
/// Returns true, if machine is big-endian (high byte first).
|
||||||
/// e.g. PowerPC
|
/// e.g. PowerPC
|
||||||
inline bool isBigEndian()
|
inline bool isBigEndian()
|
||||||
@ -114,5 +117,7 @@ T fromBigEndian(const T* ptr, bool bigEndian = isBigEndian())
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif // ENDIAN_H
|
#endif // ENDIAN_H
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user