mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 09:41:32 +08:00
Use OBS_HAVECONFIG_H for version string
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user