site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thanks. On May 18, 2005, at 8:14 PM, Josh Graessley wrote: -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. This email sent to jgraessley@apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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? 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. 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/jgraessley% 40apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Joe Ridge