diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/osl/endian.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h index e8701bdc768a..b79c1f6456ac 100644 --- a/sal/inc/osl/endian.h +++ b/sal/inc/osl/endian.h @@ -66,11 +66,14 @@ extern "C" { #ifdef NETBSD # include <machine/endian.h> # if BYTE_ORDER == LITTLE_ENDIAN -# define _LITTLE_ENDIAN +# undef _BIG_ENDIAN +# undef _PDP_ENDIAN # elif BYTE_ORDER == BIG_ENDIAN -# define _BIG_ENDIAN +# undef _LITTLE_ENDIAN +# undef _PDP_ENDIAN # elif BYTE_ORDER == PDP_ENDIAN -# define _PDP_ENDIAN +# undef _LITTLE_ENDIAN +# undef _BIG_ENDIAN # endif #endif |