69b1f76d66
Samuel Rodriguez Perez, somewhat hacked by myself. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19392 a95241bf-73f2-0310-859d-f6bbb57e9c96
15 lines
421 B
C
15 lines
421 B
C
#ifndef _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|
|
#define _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|
|
|
|
// There's no <endian.h> in FreeBSD, but <sys/endian.h>. And the macro naming
|
|
// differs.
|
|
|
|
#include <sys/endian.h>
|
|
|
|
#define __LITTLE_ENDIAN _LITTLE_ENDIAN
|
|
#define __BIG_ENDIAN _BIG_ENDIAN
|
|
#define __PDP_ENDIAN _PDP_ENDIAN
|
|
#define BYTE_ORDER _BYTE_ORDER
|
|
|
|
#endif // _HAIKU_BUILD_COMPATIBILITY_FREEBSD_ENDIAN
|