Use OBS_HAVECONFIG_H for version string

This commit is contained in:
jp9000 2014-05-15 19:18:13 -07:00
parent 699602abff
commit 7efecf648b

View File

@ -210,9 +210,11 @@ string OBSApp::GetVersionString() const
LIBOBS_API_MINOR_VER << "." <<
LIBOBS_API_PATCH_VER;
#ifndef _WIN32
#ifdef HAVE_OBSCONFIG_H
ver << " (" << OBS_VERSION << ")";
#else
#endif
#ifdef _WIN32
if (sizeof(void*) == 8)
ver << " (64bit)";
else