aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/elfclass.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/elfclass.h')
-rw-r--r--sysdeps/generic/bits/elfclass.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/generic/bits/elfclass.h b/sysdeps/generic/bits/elfclass.h
index 1ad12954b2..bb4dd545c1 100644
--- a/sysdeps/generic/bits/elfclass.h
+++ b/sysdeps/generic/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