diff options
Diffstat (limited to 'lib/bind/config.h')
-rw-r--r-- | lib/bind/config.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/bind/config.h b/lib/bind/config.h index cffb26c..014ec4e 100644 --- a/lib/bind/config.h +++ b/lib/bind/config.h @@ -289,9 +289,13 @@ int sigwait(const unsigned int *set, int *sig); /* define if idnkit support is to be included. */ /* #undef WITH_IDN */ -/* Define to 1 if your processor stores words with the most significant byte - first (like Motorola and SPARC, unlike Intel and VAX). */ -/* #undef WORDS_BIGENDIAN */ +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ +#if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +#elif ! defined __LITTLE_ENDIAN__ +/* # undef WORDS_BIGENDIAN */ +#endif /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ |