diff options
Diffstat (limited to 'sysdeps/arm/bits/endian.h')
-rw-r--r-- | sysdeps/arm/bits/endian.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/arm/bits/endian.h b/sysdeps/arm/bits/endian.h index 32f8489df2..ad3b5393bc 100644 --- a/sysdeps/arm/bits/endian.h +++ b/sysdeps/arm/bits/endian.h @@ -1,3 +1,7 @@ /* ARM is little-endian. */ +#ifndef _ENDIAN_H +# error "Never use <bits/endian.h> directly; include <endian.h> instead." +#endif + #define __BYTE_ORDER __LITTLE_ENDIAN |