From: H.J. Lu Date: Wed, 16 May 2012 17:35:34 +0000 (-0700) Subject: Check __x86_64__ in x86_64/bits/a.out.h X-Git-Tag: glibc-2.16-tps~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34683bb01bd2c65e1d124bf54e13f3c54779efd0;p=thirdparty%2Fglibc.git Check __x86_64__ in x86_64/bits/a.out.h --- diff --git a/ChangeLog b/ChangeLog index e0117c2d8cb..f395055bd9a 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 228a8d41af7..0e4a7c911f4 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. */