On Thu, 17 Jun 2004 17:35:33 +0200
Michael Schloh von Bennewitz <[EMAIL PROTECTED]> wrote:

> >   + #include <limits.h>
> >   +-#if (defined(__svr4__) || defined(unixware))   /* slo-laris */
> >   ++#if defined(__svr4__) || defined(unixware) || (defined(__sun) && 
> > defined(__SVR4))  /* slo-laris */
> >   + #include <sys/filio.h>
> >[...]
> >
> If you know that the author's intention is to handle Solaris, then the
> __svr4__ and unixware definitions aren't needed at all. You probably know
> this, but left it in anyways assuming the worst (the author wrote an
> incomplete comment and wanted to handle SCO and others as well?)

I left it in, since I havn't testet and looked on other platforms. I believe the 
__svr4__ evaluates to true at least on sun
if compiled with gcc.
I thougt digging deeper into this to be a waste of time and just added what was needed 
to make it compile with Forte.

Do you think that I should have a closer look at it again to make it cleaner ?


-- 
Torsten Homeyer                                     [EMAIL PROTECTED]
Lead Engineer Databases                             +49-89-92699-186   (tel)
ITS/CSOC, Datacenter Services                       +49-89-92699-808 (fax)
Cable & Wireless Telecommunication Services GmbH    http://www.cw.com/de
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to