This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: _WIN32?
- To: gdb at sources dot redhat dot com
- Subject: Re: _WIN32?
- From: DJ Delorie <dj at redhat dot com>
- Date: 17 Apr 2001 20:34:41 -0400
- Newsgroups: cygnus.gdb
- Organization: Red Hat, Inc
- References: <3ADCBA75.3BCBE292@cygnus.com>
Andrew Cagney <ac131313@cygnus.com> writes:
> __GO32__ djgpp I think
DJGPP V1, also defined by DJGPP V2 for backwards compatibility.
__DJGPP__ is the current recommended symbol.
> _WIN32
These are the 'canonical' way of detecting a Windows native compiler
(MSVC, MinGW, cygwin with -mno-cygwin).
> __MSDOS__
DJGPP, Borland C, older MSC's, and other dos-hosted compilers. This
is (was?) the canonical way of detecting any dos-hosted compiler
(compiler-independent filesystem issues, for example)