mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
libsysdecode: Drop dead __amd64__ && COMPAT_32BIT code
Under COMPAT_32BIT we are compiling 32-bit code and so __amd64__ is not defined, __i386__ is, and we use the real i386 headers. Reviewed by: brooks, jhb, imp Differential Revision: https://reviews.freebsd.org/D40916
This commit is contained in:
parent
ebd508a0b2
commit
3d96c005dd
|
@ -41,11 +41,7 @@ __FBSDID("$FreeBSD$");
|
|||
#elif __i386__
|
||||
#include <i386/linux/linux.h>
|
||||
#elif __amd64__
|
||||
#ifdef COMPAT_32BIT
|
||||
#include <amd64/linux32/linux.h>
|
||||
#else
|
||||
#include <amd64/linux/linux.h>
|
||||
#endif
|
||||
#else
|
||||
#error "Unsupported Linux arch"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue