mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Detect FreeBSD in HttpClient, UpdateCheck, and version.h. We need to combine all of these. Ugh.
This commit is contained in:
parent
210209997f
commit
d91bb6f861
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user