[Mono-dev] [PATCH] Fix Apple sysctl argument

Andreas Färber andreas.faerber at web.de
Thu Aug 7 13:50:09 EDT 2008


Hello,

The attached patch fixes a 64-bit OSX-only compilation error for  
sysctl in mini-ppc.c.

sysctl on v10.5 has a "size_t *oldlenp" argument, not "int *oldlenp".  
Same on v10.3.9.
Patch extracted from my series at https://bugzilla.novell.com/show_bug.cgi?id=324134
Compiles okay on ppc and ppc64.

Please approve for trunk.

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc64-sysctl.diff
Type: application/octet-stream
Size: 376 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080807/124e49b0/attachment.obj 
-------------- next part --------------





More information about the Mono-devel-list mailing list