X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc4b32c270ed42e15421d2761fbf785134dd53fe..2f1ae4143271ae63a17e052a1a471d16e9cd8c44:/src/common/http.cpp diff --git a/src/common/http.cpp b/src/common/http.cpp index c35d41b002..90d5db12a8 100644 --- a/src/common/http.cpp +++ b/src/common/http.cpp @@ -20,7 +20,7 @@ #pragma hdrstop #endif -#if wxUSE_SOCKETS +#if wxUSE_SOCKETS && wxUSE_STREAMS #include #include @@ -212,7 +212,7 @@ bool wxHTTP::BuildRequest(const wxString& path, wxHTTP_Req req) } SaveState(); - SetFlags(NONE); + SetFlags(wxSOCKET_NONE); Notify(FALSE); wxSprintf(buf, wxT("%s %s HTTP/1.0\n\r"), tmp_buf, tmp_str.GetData());