Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 563572 | Differences between
and this patch

Collapse All | Expand All

(-)js/src/jscpucfg.h.orig (+13 lines)
Lines 36-41 Link Here
36
#  define IS_BIG_ENDIAN 1
36
#  define IS_BIG_ENDIAN 1
37
# endif
37
# endif
38
38
39
#elif defined(__FreeBSD__)
40
#include <sys/endian.h>
41
42
#if defined(BYTE_ORDER)
43
#if BYTE_ORDER == LITTLE_ENDIAN
44
#define IS_LITTLE_ENDIAN 1
45
#undef  IS_BIG_ENDIAN
46
#elif BYTE_ORDER == BIG_ENDIAN
47
#undef  IS_LITTLE_ENDIAN
48
#define IS_BIG_ENDIAN 1
49
#endif
50
#endif
51
39
#elif defined(JS_HAVE_ENDIAN_H)
52
#elif defined(JS_HAVE_ENDIAN_H)
40
# include <endian.h>
53
# include <endian.h>
41
54

Return to bug 563572