[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor patch to fix Solaris build



On Mon, May 09, 2005 at 01:19:22PM +0100, Alex Kiernan wrote:
> I've been applying this as long as I can remember to make builds work
> on Solaris:
> 
> --- sfio/src/lib/sfio/sfhdr.h   6 Jul 2004 15:07:44 -0000       1.3
> +++ sfio/src/lib/sfio/sfhdr.h   9 May 2005 12:17:45 -0000
> @@ -176,6 +176,10 @@
>  #define remove unlink
>  #endif
>  
> +#if defined(__sun)
> +#define _FILEDEFED
> +#endif
> +
>  #if _hdr_math
>  #include       <math.h>
>  #ifdef MAXFLOAT        /* on BSDI, this is defined twice in
> machine/values.h and math.h */
> 
> Its clearly a kludge, but its the best I've managed to come up.

It definitely has a Kludgy Feeling to it..
What compiler do you use ?

> -- 
> Alex Kiernan
-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi