Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12:Update
pixz
pixz-endianess-functions.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pixz-endianess-functions.patch of Package pixz
--- endian.c | 8 ++++++++ 1 file changed, 8 insertions(+) Index: pixz-1.0.2/endian.c =================================================================== --- pixz-1.0.2.orig/endian.c 2013-01-09 04:25:03.000000000 +0000 +++ pixz-1.0.2/endian.c 2013-09-26 20:02:24.000000000 +0100 @@ -19,6 +19,14 @@ void xle64enc(uint8_t *d, uint64_t n) { #include <sys/endian.h> #endif +# if __BYTE_ORDER == __LITTLE_ENDIAN +# define htole64(x) (x) +# define le64toh(x) (x) +# else +# define htole64(x) __bswap_64 (x) +# define le64toh(x) __bswap_64 (x) +# endif + uint64_t xle64dec(const uint8_t *d) { return le64toh(*(uint64_t*)d); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor