Commit d7ebf9ea by David O'Brien Committed by Jeff Law

xm-i386.h: Define `__i386__' if not defined...

        * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
        which is in the user's namespace.
        * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
        `i386' which is not in our namespace.

From-SVN: r30627
parent 2ef56612
Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
* xm-i386.h: Define `__i386__' if not defined, rather than `i386'
which is in the user's namespace.
* libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
`i386' which is not in our namespace.
Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net> Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
* invoke.texi (ARM Options): Add in -mno-alignment-traps * invoke.texi (ARM Options): Add in -mno-alignment-traps
......
...@@ -18,8 +18,8 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -18,8 +18,8 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#ifndef i386 #ifndef __i386__
#define i386 #define __i386__
#endif #endif
/* #defines that need visibility everywhere. */ /* #defines that need visibility everywhere. */
......
...@@ -2596,7 +2596,7 @@ long getpagesize() ...@@ -2596,7 +2596,7 @@ long getpagesize()
#endif #endif
} }
#ifdef i386 #ifdef __i386__
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall)); extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment