diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-08-25 20:12:48 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2007-08-25 20:12:48 +0000 |
commit | d7e2a28f59f4475f927b8ee553684949f1d5d34b (patch) | |
tree | 6da08ac18ab93a31323ef03deecd6ea7ebdabc1c /src/m/amdx86-64.h | |
parent | e60c4e15efd282dfd4cf94af1eff96f540fe586a (diff) | |
download | emacs-d7e2a28f59f4475f927b8ee553684949f1d5d34b.tar.gz |
Redirect to intel386.h if compiling for i386.
Diffstat (limited to 'src/m/amdx86-64.h')
-rw-r--r-- | src/m/amdx86-64.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 681be8b0647..1f759cc9ec6 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h @@ -18,6 +18,14 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifdef i386 +/* Although we're running on an amd64 kernel, we're actually compiling for + the x86 architecture. The user should probably have provided an + explicit --build to `configure', but if everything else than the kernel + is running in i386 mode, then the bug is really ours: we should have + guessed better. */ +#include "m/intel386.h" +#else /* The following line tells the configuration script what sort of operating system this machine is likely to run. @@ -156,6 +164,7 @@ Boston, MA 02110-1301, USA. */ #endif #endif /* __FreeBSD__ */ +#endif /* !i386 */ /* arch-tag: 8a5e001d-e12e-4692-a3a6-0b15ba271c6e (do not change this comment) */ |