winhttp: Fix build on Mac OS X 10.5.8.

Hans Leidekker hans at codeweavers.com
Mon May 19 04:13:32 CDT 2014


---
 dlls/winhttp/session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index f2ed72b..56e776d 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1297,7 +1297,7 @@ static WCHAR *build_wpad_url( const char *hostname, const struct addrinfo *ai )
 
 static BOOL get_system_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;
-- 
1.8.5.2 (Apple Git-48)





More information about the wine-patches mailing list