Build fix for wxUSE_CONFIG==0
This commit is contained in:
parent
67090e61d2
commit
86a0456bc4
1 changed files with 4 additions and 0 deletions
|
|
@ -1144,6 +1144,7 @@ wxString wxGetNativeCpuArchitectureName()
|
|||
static bool
|
||||
wxGetValuesFromOSRelease(const wxString& filename, wxLinuxDistributionInfo& ret)
|
||||
{
|
||||
#if wxUSE_CONFIG
|
||||
if ( !wxFileName::Exists(filename) )
|
||||
{
|
||||
return false;
|
||||
|
|
@ -1156,6 +1157,9 @@ wxGetValuesFromOSRelease(const wxString& filename, wxLinuxDistributionInfo& ret)
|
|||
ret.CodeName = fc.Read(wxS("VERSION_CODENAME"), wxEmptyString);
|
||||
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue