Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemConfiguration framework and Carbon CFM



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:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >SystemConfiguration framework and Carbon CFM (From: Igor Garnov <email@hidden>)
 >Re: SystemConfiguration framework and Carbon CFM (From: Dave Rehring <email@hidden>)
 >Re: SystemConfiguration framework and Carbon CFM (From: Duane Murphy <email@hidden>)
 >Re: SystemConfiguration framework and Carbon CFM (From: Quinn <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.