Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vodoo
hping2
hping2-bytesex.h.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hping2-bytesex.h.patch of Package hping2
--- bytesex.h.orig 2011-12-19 15:37:04.395040876 +0100 +++ bytesex.h 2011-12-19 15:53:50.241100044 +0100 @@ -4,6 +4,11 @@ /* $Id: bytesex.h,v 1.3 2003/07/28 09:00:55 njombart Exp $ */ +/* Get endian-ness from the system */ +#ifndef _ENDIAN_H +#include <endian.h> +#endif + #ifndef ARS_BYTESEX_H #define ARS_BYTESEX_H @@ -11,6 +16,10 @@ || defined(__alpha__) \ || (defined(__mips__) && (defined(MIPSEL) || defined (__MIPSEL__))) #define BYTE_ORDER_LITTLE_ENDIAN +#elif __BYTE_ORDER == __LITTLE_ENDIAN +#define BYTE_ORDER_LITTLE_ENDIAN +#elif __BYTE_ORDER == __BIG_ENDIAN +#define BYTE_ORDER_BIG_ENDIAN #elif defined(__mc68000__) \ || defined (__sparc__) \ || defined (__sparc) \
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