wininet: Fix build on Mac OS X 10.5.8.

This commit is contained in:
Hans Leidekker 2014-05-19 11:13:25 +02:00 committed by Alexandre Julliard
parent deb2742267
commit 654bef8f37
1 changed files with 2 additions and 1 deletions

View File

@ -2400,7 +2400,8 @@ BOOL WINAPI InternetReadFileExW(HINTERNET hFile, LPINTERNET_BUFFERSW lpBuffer,
static BOOL get_proxy_autoconfig_url( char *buf, DWORD buflen )
{
#ifdef HAVE_CORESERVICES_CORESERVICES_H
#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
CFDictionaryRef settings = CFNetworkCopySystemProxySettings();
const void *ref;
BOOL ret = FALSE;