Issue error message if the header is used directly.
authordrepper <drepper>
Wed, 26 Nov 1997 03:40:17 +0000 (03:40 +0000)
committerdrepper <drepper>
Wed, 26 Nov 1997 03:40:17 +0000 (03:40 +0000)
sysdeps/alpha/bits/endian.h

index e873d21..8a16e14 100644 (file)
@@ -1,3 +1,7 @@
 /* Alpha is little-endian.  */
 
+#ifndef _ENDIAN_H
+# error "Never use <bits/endian.h> directly; include <endian.h> instead."
+#endif
+
 #define __BYTE_ORDER __LITTLE_ENDIAN