Hans Leidekker : winhttp: Fix build on Mac OS X 10.5.8.
Alexandre Julliard
julliard at winehq.org
Mon May 19 15:09:59 CDT 2014
Module: wine
Branch: master
Commit: 9a25a59dc25bca6060d3be89e5bfc57d117924de
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9a25a59dc25bca6060d3be89e5bfc57d117924de
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon May 19 11:13:32 2014 +0200
winhttp: Fix build on Mac OS X 10.5.8.
---
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;
More information about the wine-cvs
mailing list