mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
kernel-endianness-test-fix-20061218
FIXES 47893 ok, so, when we're in the kernel, do something
This commit is contained in:
parent
8a7e66fb28
commit
d229d72fa7
16
acconfig.h
16
acconfig.h
@ -16,6 +16,12 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
||||
# if BYTE_ORDER == BIG_ENDIAN
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# endif
|
||||
# else
|
||||
# if defined(AUTOCONF_FOUND_BIGENDIAN)
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# else
|
||||
# undef WORDS_BIGENDIAN
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# if defined(AUTOCONF_FOUND_BIGENDIAN)
|
||||
@ -25,11 +31,11 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
#if defined(__BIG_ENDIAN__)
|
||||
#define WORDS_BIGENDIAN 1
|
||||
#else
|
||||
#undef WORDS_BIGENDIAN
|
||||
#endif
|
||||
# if defined(__BIG_ENDIAN__)
|
||||
# define WORDS_BIGENDIAN 1
|
||||
# else
|
||||
# undef WORDS_BIGENDIAN
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#undef AFS_AFSDB_ENV
|
||||
|
Loading…
Reference in New Issue
Block a user