From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mo DeJong To: gdb@sources.redhat.com Subject: Re: _WIN32? Date: Tue, 17 Apr 2001 14:59:00 -0000 Message-id: References: <3ADCBA75.3BCBE292@cygnus.com> X-SW-Source: 2001-04/msg00124.html 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