summaryrefslogtreecommitdiff
path: root/src/lib/curl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/curl')
-rw-r--r--src/lib/curl/Request.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/curl/Request.cxx b/src/lib/curl/Request.cxx
index 75ce11eed..774066877 100644
--- a/src/lib/curl/Request.cxx
+++ b/src/lib/curl/Request.cxx
@@ -56,7 +56,7 @@ CurlRequest::CurlRequest(CurlGlobal &_global,
easy.SetUserAgent("Music Player Daemon " VERSION);
easy.SetHeaderFunction(_HeaderFunction, this);
easy.SetWriteFunction(WriteFunction, this);
-#ifndef ANDROID
+#if !defined(ANDROID) && !defined(_WIN32)
easy.SetOption(CURLOPT_NETRC, 1L);
#endif
easy.SetErrorBuffer(error_buffer);