aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>1999-11-23 06:09:34 +0000
committerJeff Law <law@gcc.gnu.org>1999-11-22 23:09:34 -0700
commitd7ebf9ea950d7aee3b8cf3e316aa260211719afb (patch)
tree8539c15b5a167da7b8f80b16deff39ce46ae06c5 /gcc/libgcc2.c
parent2ef5661218b82622db852078f8d4aab825500daa (diff)
downloadgcc-d7ebf9ea950d7aee3b8cf3e316aa260211719afb.zip
gcc-d7ebf9ea950d7aee3b8cf3e316aa260211719afb.tar.gz
gcc-d7ebf9ea950d7aee3b8cf3e316aa260211719afb.tar.bz2
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
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 114ada2..861e6d9 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -2596,7 +2596,7 @@ long getpagesize()
#endif
}
-#ifdef i386
+#ifdef __i386__
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
#endif