From: Eli Zaretskii <eliz@is.elta.co.il>
To: gdb@sources.redhat.com
Subject: Re: _WIN32?
Date: Thu, 19 Apr 2001 00:12:00 -0000 [thread overview]
Message-ID: <Pine.SUN.3.91.1010419101303.9514A-100000@is> (raw)
[I'm resending this because qmail rejected my original message for some
obscure reason.]
On 17 Apr 2001, DJ Delorie wrote:
> > __GO32__ djgpp I think
>
> DJGPP V1, also defined by DJGPP V2 for backwards compatibility.
> __DJGPP__ is the current recommended symbol.
I don't like changing code just for the sake of changing, that's why I
consistently left the old __GO32__ symbol unless I had a good reason
for changing it into __DJGPP__ (e.g., if DJGPP v1.x behaved
differently from the current DJGPP versions). You can never know:
someone, somewhere could still use ye olde v1.x of DJGPP.
> > __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)
In some code I contributed, __MSDOS__ is used instead of __DJGPP__
where the underlying issue is not specific to DJGPP, but rather is
common to all MS-DOS-based compilers. An example is some problem with
limitations of a 8+3 DOS filesystem, e.g. that file names like
`.gdbinit' are not allowed.
By contrast, I use __DJGPP__ for code that won't (or shouldn't) work
with anything but DJGPP. An example is a snippet in
mant.c:maintenance_dump_me which uses SIGABRT instead of SIGQUIT, for
the reason explained in a comment there.
next reply other threads:[~2001-04-19 0:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-19 0:12 Eli Zaretskii [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-04-17 14:50 _WIN32? Andrew Cagney
2001-04-17 14:59 ` _WIN32? Mo DeJong
2001-04-17 15:06 ` _WIN32? Christopher Faylor
2001-04-30 10:05 ` _WIN32? Andrew Cagney
2001-04-30 10:15 ` _WIN32? Christopher Faylor
2001-04-30 18:00 ` _WIN32? Andrew Cagney
2001-04-17 17:45 ` _WIN32? DJ Delorie
2001-04-18 2:17 ` _WIN32? Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SUN.3.91.1010419101303.9514A-100000@is \
--to=eliz@is.elta.co.il \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox