diff --git a/src/core/sdk/HttpClient.h b/src/core/sdk/HttpClient.h index 2e50065e6..a605d6cc5 100644 --- a/src/core/sdk/HttpClient.h +++ b/src/core/sdk/HttpClient.h @@ -124,6 +124,8 @@ namespace musik { namespace core { namespace sdk { static const std::string PLATFORM = "win32"; #elif defined __APPLE__ static const std::string PLATFORM = "macos"; +#elif defined __FreeBSD__ + static const std::string PLATFORM = "freebsd"; #else static const std::string PLATFORM = "linux"; #endif diff --git a/src/musikcube/app/util/UpdateCheck.cpp b/src/musikcube/app/util/UpdateCheck.cpp index 368e867f9..a1d196aa4 100644 --- a/src/musikcube/app/util/UpdateCheck.cpp +++ b/src/musikcube/app/util/UpdateCheck.cpp @@ -64,6 +64,8 @@ static const std::string URL = "url"; static const std::string PLATFORM = "win32"; #elif defined __APPLE__ static const std::string PLATFORM = "macos"; +#elif defined __FreeBSD__ +static const std::string PLATFORM = "freebsd"; #else static const std::string PLATFORM = "linux"; #endif diff --git a/src/musikcube/app/version.h b/src/musikcube/app/version.h index 63848b254..6426f49ae 100644 --- a/src/musikcube/app/version.h +++ b/src/musikcube/app/version.h @@ -14,6 +14,8 @@ namespace musik { static const std::string PLATFORM = "win32"; #elif defined __APPLE__ static const std::string PLATFORM = "macos"; +#elif defined __FreeBSD__ + static const std::string PLATFORM = "freebsd"; #else static const std::string PLATFORM = "linux"; #endif