From: tolj AT uni-duesseldorf DOT de (Stipe Tolj) Subject: Re: I: gcc ... -U_WIN32 ... may cause problems 10 Sep 1998 20:03:36 -0700 Message-ID: <35F714A1.EB18757F.cygnus.gnu-win32@uni-duesseldorf.de> References: <19980908115632 DOT 9227 DOT rocketmail AT send104 DOT yahoomail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: earnie_boyd AT yahoo DOT com Cc: Mumit Khan , gw32 > ---Mumit Khan wrote: > > > > On Mon, 31 Aug 1998, Geoffrey Noer wrote: > > > > > > > > Perhaps -Dunix should be added to the define list whenever > > > __CYGWIN32__ is defined? Linux includes -Dunix and > -Asystem(posix) in > > > CPP_PREDEFINES (looking at gcc/config/i386/linux.h). > > > > > > > I see no problem in cygwin32 specs defining "unix", but I have yet to > > see a good argument for getting rid of _WIN32 from x86-win32 targets, > > especially from mingw32. > > > > The `argument' I have for removing the _WIN32 from cygwin32 (I'll live > with mingw32) is that there exists code that already has some porting > to WIN32 and it gets in the way of wanting to build the __UNIX__ > version under WIN32. Since this is the goal of the Cygnus Project > then it would be best served to remove the definitions of _WIN32. I support this opinion, since I had many confusing #define structures to do while poring the apache-1.3.1 server and the php-3.0.3 pre-processor to cygwin32. Regards, Stipe. -- Stipe Tolj Cygwin32 Porting Project Department of Economical Computer Science University of Cologne, Germany http://www-public.rz.uni-duesseldorf.de/~tolj - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".