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: Mo DeJong <mdejong at cygnus dot com>
- Date: Tue, 17 Apr 2001 14:59:49 -0700 (PDT)
On Tue, 17 Apr 2001, Andrew Cagney wrote:
> Hello,
>
> utils.c contains:
>
> #if !defined (MPW) && !defined (_WIN32)
> /* No termcap under MPW, although might be cool to do something
> by looking at worksheet or console window sizes. */
> /* Initialize the screen height and width from termcap. */
>
> Given the ``!defined (MPW)'' bit is about to go, I'm wondering if the
> !defined(_WIN32) is needed?
>
> Hmm, actually, I'm puzzled. Can anyone fill in the gaps?
>
> __GO32__ djgpp I think
> __CYGWIN__ ok - cygwin
> __CYGWIN32__ ok - old __CYGWIN__
> _WIN32
> _WIN32_WCE
> __MSDOS__
>
> enjoy,
> Andrew
I think that -D_WIN32 is passed in the CFLAGS for the Windows
port of Tcl. If this is a file used in gdbtk, that might
explain where the _WIN32 define came from. The windows
build of Tcl also uses -DWIN32 if that helps.
Mo DeJong
Red Hat Inc