[Bug 36481] CFNetworkCopySystemProxySettings and kCFNetworkProxiesProxyAutoConfigURLString are unavailable

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 18 06:23:05 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=36481

--- Comment #3 from Ryan Schmidt <wine-2014 at ryandesign.com> ---
I'm building more or less normally. That is to say, I have installed Xcode
3.1.4 and MacPorts 2.2.1 and run "sudo port install wine-devel", which runs
configure and make with various arguments and environment variables. MacPorts
sets MACOSX_DEPLOYMENT_TARGET the same as the Mac OS X version, so in this case
it's "10.5". MacPorts isn't setting the SDK, so the current Mac OS X version's
(10.5.8's) headers get used. There is no 10.6 SDK in 10.5's versions of Xcode.
I've attached the full log.


In the file
/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h,
the lines around 411 read:


#if TARGET_OS_MAC
/*!
        @function CFNetworkCopySystemProxySettings
        @discussion Returns a CFDictionary containing the current system
internet proxy settings.
        @result Returns a dictionary containing key-value pairs that represent
                the current internet proxy settings.  See below for definitions
of the keys and
                values.
                NULL if no proxy settings have been defined or if an error
                was encountered.
                The caller is responsible for releasing the returned
dictionary.
*/
CFN_EXPORT CFDictionaryRef
CFNetworkCopySystemProxySettings( void )                                       
__OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_2_0);


And the lines around 453 read:


/*
 *  kCFNetworkProxiesSOCKSProxy
 *
 *  Discussion:
 *    Key for the url which indicates the location of the ProxyAutoConfig (PAC)
file; value is a
 *    CFString which is url for the PAC file.
 */
CFN_EXPORT const CFStringRef kCFNetworkProxiesProxyAutoConfigURLString 
__OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_2_0);
#endif // TARGET_OS_MAC


So it looks like these functions were available first in iOS 2, and according
to Apple documentation did not become available in Mac OS X until 10.6.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list