diff options
Diffstat (limited to 'bits/endian.h')
-rw-r--r-- | bits/endian.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bits/endian.h b/bits/endian.h index 597f079..45afd4a 100644 --- a/bits/endian.h +++ b/bits/endian.h @@ -6,4 +6,8 @@ So if cross-compiling to a machine with a different byte order, the bits/endian.h file for that machine must exist. */ +#ifndef _ENDIAN_H +# error "Never use <bits/endian.h> directly; include <endian.h> instead." +#endif + #error Machine byte order unknown. |