httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [PATCH]-1.2.6: ReliantUNIX: Platform specific flag optimization
Date Thu, 08 Jan 1998 10:40:53 GMT
On Tue, Jan 06, 1998 at 02:58:43PM -0800, Dean Gaudet wrote:
> "Easy" portability fixes may be given consideration. 

Here's an "easy" portability fix: for SNI's SVR4, cc must be called with
the -D_XPG_IV switch to get the correct prototype for the calling convention
for gettimeofday() as used by apache (/usr/include/sys/time.h contains:
 #if defined(_XPG_IV)
 int gettimeofday(struct timeval *, void *);
 int gettimeofday(struct timeval *);
 #endif /* defined(_XPG_IV) */
performance tweaks, and -DNEED_UNION_SEMUN is required to take advantage
of them: the system doesn't define union semun anywhere.

I don't expect any +1's for these, they were tested on different versions
of SNI's SINIX/ReliantUNIX (and with SNI's cc as well as with gcc). Unless
there's a veto, I'm going to commit this patch.

BTW: I added a binary distribution of apache-1.2.5 for reliantunix-5.4
(aka sinix-5.4) to the /dist/binaries/ directory.

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message