aboutsummaryrefslogtreecommitdiff
path: root/bits/elfclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/elfclass.h')
-rw-r--r--bits/elfclass.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/bits/elfclass.h b/bits/elfclass.h
index 1ad1295..bb4dd54 100644
--- a/bits/elfclass.h
+++ b/bits/elfclass.h
@@ -2,7 +2,10 @@
the ELF file class used for executables and shared objects on this
machine. */
-#define __ELF_NATIVE_CLASS ??
+#ifndef _LINK_H
+# error "Never use <bits/elfclass.h> directly; include <link.h> instead."
+#endif
-/* This file goes in sysdeps/wordsize-?? and sysdeps/MACHINE/Implies lists
- wordsize-?? for MACHINE's wordsize. */
+#include <bits/wordsize.h>
+
+#define __ELF_NATIVE_CLASS __WORDSIZE