X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..2746bccf233379382f2017ef35d2dfcc114b70cb:/src/unix/utilsunx.cpp diff --git a/src/unix/utilsunx.cpp b/src/unix/utilsunx.cpp index 7394cc50e6..2e9973b6da 100644 --- a/src/unix/utilsunx.cpp +++ b/src/unix/utilsunx.cpp @@ -880,9 +880,9 @@ wxLinuxDistributionInfo wxGetLinuxDistributionInfo() const wxString desc = wxGetCommandOutput(wxT("lsb_release --description")); const wxString rel = wxGetCommandOutput(wxT("lsb_release --release")); const wxString codename = wxGetCommandOutput(wxT("lsb_release --codename")); - + wxLinuxDistributionInfo ret; - + id.StartsWith("Distributor ID:\t", &ret.Id); desc.StartsWith("Description:\t", &ret.Description); rel.StartsWith("Release:\t", &ret.Release); @@ -1412,7 +1412,7 @@ int wxAppTraits::WaitForChild(wxExecuteData& execData) } //else: synchronous execution case -#if HAS_PIPE_INPUT_STREAM +#if HAS_PIPE_INPUT_STREAM && wxUSE_SOCKETS wxProcess * const process = execData.process; if ( process && process->IsRedirected() ) {