Re: Changes to sys/sockio.h
Re: Changes to sys/sockio.h
- Subject: Re: Changes to sys/sockio.h
- From: Joe Ridge <email@hidden>
- Date: Wed, 18 May 2005 20:20:34 -0400
Thanks.
So, If I compile cfengine against a sys/sockio.h that doesn't have
the definitions removed then the resulting program should run as well
as it did in previous versions of OS X because if the program ever
actually went to use SIOCADDRT, it would fail because the ioctl is
not implemented?
On May 18, 2005, at 8:14 PM, Josh Graessley wrote:
Those ioctls are not implemented on Mac OS X. They weren't
implemented in 10.3 (and probably earlier releases too). The
effective removal from the headers reflects the fact that those
ioctls are not implemented on Mac OS X.
-josh
On May 18, 2005, at 5:06 PM, Joe Ridge wrote:
Hi, sorry if this is the wrong list for this sort of inquiry.
In the sys/sockio.h that ships with 10.4, which is Darwin 8.0.0,
the definitions for SIOCADDRT
and SIOCDELRT have been wrapped in an #if 0 conditional, basically
removing them from the file.
I was wondering what the significance of this was? I've got
some code I am trying to build, cfengine, and it uses SIOCADDRT,
so I need to figure out how to approach this.
Any input that any of you can give would be greatly
appreciated. Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden