[m-rev.] diff: fix warnings from runtime on MacOS 10.3

Ralph Becket rafe at cs.mu.OZ.AU
Thu Jun 30 12:55:08 AEST 2005


Julien Fischer, Thursday, 30 June 2005:
> 
> 
> Done.
> 
> 
> Estimated hour taken: 1.5
> Branches: main, release
> 
> configure.in:
> runtime/mercury_conf.h.in:
> 	Add a configuration macro to check for the situation where FD_ZERO
> 	is defined using bzero() but the function prototype for bzero is
> 	not automatically visible, i.e including the header file(s) for FD_ZERO
> 	does not include the one for bzero().  This is a problem on some BSD
> 	based systems, notably some versions of MacOS X.
> 
> runtime/mercury_reg_workarounds.c:
> 	Back out my change for the above problem and use the new configuration
> 	macro instead.

That looks fine.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list