Header difference between open-source and 10.11 SDK
Header difference between open-source and 10.11 SDK
- Subject: Header difference between open-source and 10.11 SDK
- From: Motti Shneor <email@hidden>
- Date: Mon, 28 Dec 2015 19:17:15 +0200
Hello.
I apologize - this might be a novice question.
I’m trying to use some structs defined in sys/socketvar.h (as published in the latest 10.11.2 darwin open source version) but my code won't build in Xcode 7 and latest 10.11 SDK, because the sys/socketvar.h header in the SDK is much shorter and lacks lots of stuff.
1. Why are the headers different?
2. Could I safely use the open-source version of this header, and expect my code to work on OS-X 10.11 in runtime?
If this is part of a “bigger picture” issue, please direct me to the proper reading.
Thanks.
Motti Shneor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden