Re: SystemConfiguration framework and Carbon CFM
Re: SystemConfiguration framework and Carbon CFM
- Subject: Re: SystemConfiguration framework and Carbon CFM
- From: Quinn <email@hidden>
- Date: Thu, 23 Jun 2005 17:05:50 +0100
At 12:11 +0100 22/6/05, Quinn wrote:
To this day, if you want to be compatible with 10.1's SCF, you have
to include "SCSchemaDefinitions_10_1.h" after including the
framework.
#include <SystemConfiguration/SystemConfiguration.h>
#include <SystemConfiguration/SCSchemaDefinitions_10_1.h>
It turns out that this is more automatic than I thought it was.
o On pre-Tiger SDKs, the framework header
<SystemConfiguration/SystemConfiguration.h> automatically includes
<SystemConfiguration/SCSchemaDefinitions_10_1.h> if you set the
MACOSX_DEPLOYMENT_TARGET build setting correctly.
o On Tiger and later SDKs,
<SystemConfiguration/SCSchemaDefinitions_10_1.h> uses scary macro
tricks to accomplish the same goal.
If you have problems with the Tiger solution, let us know.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden