23 #ifndef _ASTERISK_ENDIAN_H 24 #define _ASTERISK_ENDIAN_H 34 #elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__APPLE__) 35 #if defined(__OpenBSD__) 38 #include <machine/endian.h> 39 #define __BYTE_ORDER BYTE_ORDER 40 #define __LITTLE_ENDIAN LITTLE_ENDIAN 41 #define __BIG_ENDIAN BIG_ENDIAN 44 #ifndef __LITTLE_ENDIAN 45 #define __LITTLE_ENDIAN 1234 49 #define __BIG_ENDIAN 4321 52 #ifdef __LITTLE_ENDIAN__ 53 #define __BYTE_ORDER __LITTLE_ENDIAN 56 #if defined(i386) || defined(__i386__) 57 #define __BYTE_ORDER __LITTLE_ENDIAN 60 #if defined(sun) && defined(unix) && defined(sparc) 61 #define __BYTE_ORDER __BIG_ENDIAN 69 #error Need to know endianess Asterisk architecture endianess compatibility definitions.
General Definitions for Asterisk top level program Included by asterisk.h to handle platform-specific...