aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/crtdll.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2002-06-29 09:10:04 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-06-29 09:10:04 +0000
commitf60ed6be98bde80360b8a61e40ca3d5774f0ea49 (patch)
treeb417396258a07532ce868c3671f51d726d8c7f9a /gcc/config/i386/crtdll.h
parentddd9819e57b6ab14a95d75e831bf768dca27a19c (diff)
downloadgcc-f60ed6be98bde80360b8a61e40ca3d5774f0ea49.zip
gcc-f60ed6be98bde80360b8a61e40ca3d5774f0ea49.tar.gz
gcc-f60ed6be98bde80360b8a61e40ca3d5774f0ea49.tar.bz2
crtdll.h: Define EXTRA_OS_CPP_BUILTINS.
* config/i386/crtdll.h: Define EXTRA_OS_CPP_BUILTINS. Don't use CPP_PREDEFINES. * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): New. Used TARGET_OS_CPP_BUILTINS in preference to CPP_PREDEFINES. * config/i386/djgpp.h, config/i386/i386-coff.h, config/i386/i386-interix.h, config/i386/i386-interix3.h, config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mingw32.h, config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/sysv3.h, config/i386/uwin.h: Similarly. From-SVN: r55101
Diffstat (limited to 'gcc/config/i386/crtdll.h')
-rw-r--r--gcc/config/i386/crtdll.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/config/i386/crtdll.h b/gcc/config/i386/crtdll.h
index f3eae84..dab60c1 100644
--- a/gcc/config/i386/crtdll.h
+++ b/gcc/config/i386/crtdll.h
@@ -20,10 +20,9 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-D_WIN32 -DWIN32 \
- -D__MINGW32__=0.2 -DWINNT -D_X86_=1 \
- -Asystem=winnt"
+#undef EXTRA_OS_CPP_BUILTINS
+#define EXTRA_OS_CPP_BUILTINS() \
+ do { builtin_define ("__MINGW32__=0.2"); } while (0)
#undef LIBGCC_SPEC
#define LIBGCC_SPEC \