From 29c7113dd71ff510ee9d568d48db9b37e74c5309 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Fri, 1 May 2015 22:05:00 +0200 Subject: [PATCH] UI: Add FreeBSD as a platform for version string Add an additional ifdef to correctly identify FreeBSD as platform when generating the version string. --- obs/obs-app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index 3378a3498..a9da4a41f 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -355,6 +355,8 @@ string OBSApp::GetVersionString() const ver << "windows)"; #elif __APPLE__ ver << "mac)"; +#elif __FreeBSD__ + ver << "freebsd)"; #else /* assume linux for the time being */ ver << "linux)"; #endif