From 34683bb01bd2c65e1d124bf54e13f3c54779efd0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 May 2012 10:35:34 -0700 Subject: [PATCH] Check __x86_64__ in x86_64/bits/a.out.h --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/x86_64/bits/a.out.h | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e0117c2d8c..f395055bd9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-16 H.J. Lu + + * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include + . Check __x86_64__ instead of __WORDSIZE. + 2012-05-16 H.J. Lu * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file. diff --git a/sysdeps/unix/sysv/linux/x86_64/bits/a.out.h b/sysdeps/unix/sysv/linux/x86_64/bits/a.out.h index 228a8d41af..0e4a7c911f 100644 --- a/sysdeps/unix/sysv/linux/x86_64/bits/a.out.h +++ b/sysdeps/unix/sysv/linux/x86_64/bits/a.out.h @@ -2,9 +2,7 @@ # error "Never use directly; include instead." #endif -#include - -#if __WORDSIZE == 64 +#ifdef __x86_64__ /* Signal to users of this header that this architecture really doesn't support a.out binary format. */ -- 2.43.5