You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Havard <br...@kheldar.apana.org.au> on 1998/05/07 18:20:41 UTC

EMX vs OS/2 (was Re: chdir isn't thead specific)

On Wed, 6 May 1998 16:34:48 -0400, Ben Hyde wrote:

>  include/conf.h:637:#define chdir _chdir2
>     Part of the __EMX__ (aka OS/2)

I'd like to clear this up. EMX is the name of the GCC port to OS/2, it isn't
the name of the platform as such. Having #ifdef __EMX__ around the place is
misleading, it's like using #ifdef __MSVC__ to mean WIN32.

What I'd like to do is replace all the "#ifdef __EMX__"s with "#ifdef OS2"
and have Configure add a -DOS2. Also, rename the os/emx directory os/os2.

I guess it should wait for 1.3.1-dev though.....

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Re: EMX vs OS/2 (was Re: chdir isn't thead specific)

Posted by Marc Slemko <ma...@worldgate.com>.
On Fri, 8 May 1998, Brian Havard wrote:

> On Wed, 6 May 1998 16:34:48 -0400, Ben Hyde wrote:
> 
> >  include/conf.h:637:#define chdir _chdir2
> >     Part of the __EMX__ (aka OS/2)
> 
> I'd like to clear this up. EMX is the name of the GCC port to OS/2, it isn't
> the name of the platform as such. Having #ifdef __EMX__ around the place is
> misleading, it's like using #ifdef __MSVC__ to mean WIN32.
> 
> What I'd like to do is replace all the "#ifdef __EMX__"s with "#ifdef OS2"
> and have Configure add a -DOS2. Also, rename the os/emx directory os/os2.
> 
> I guess it should wait for 1.3.1-dev though.....

But does all the __EMX__ stuff still apply to an arbitrary OS/2 compiler?