Check for defined(__i386__) instead of just defined(i386) since the compiler

will be updated to only define(__i386__) for ANSI cleanliness.
This commit is contained in:
Alfred Perlstein 2002-05-30 07:00:42 +00:00
parent df182f6dd1
commit e043516d4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97551
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
error: DYN_ALLOC not yet supported in match.s
#endif
#if defined(i386) || defined(_I386)
#if defined(i386) || defined(_I386) || defined(__i386__)
/* This version is for 386 Unix or OS/2 in 32 bit mode.
* Warning: it uses the AT&T syntax: mov source,dest

View File

@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$");
#include "libc_private.h"
#if defined(__ELF__) && (defined(i386) || defined(__sparc64__))
#if defined(__ELF__) && (defined(__i386__) || defined(__sparc64__))
extern char *minbrk asm (".minbrk");
#else
extern char *minbrk asm ("minbrk");

View File

@ -65,7 +65,7 @@
#if luna68k
# include "luna68k.h"
#endif
#if i386
#if __i386__
# include "i386.h"
#endif
#if mips