mirror of
https://github.com/clangen/musikcube.git
synced 2025-04-07 10:22:21 +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";
|
static const std::string PLATFORM = "win32";
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
static const std::string PLATFORM = "macos";
|
static const std::string PLATFORM = "macos";
|
||||||
|
#elif defined __FreeBSD__
|
||||||
|
static const std::string PLATFORM = "freebsd";
|
||||||
#else
|
#else
|
||||||
static const std::string PLATFORM = "linux";
|
static const std::string PLATFORM = "linux";
|
||||||
#endif
|
#endif
|
||||||
|
@ -64,6 +64,8 @@ static const std::string URL = "url";
|
|||||||
static const std::string PLATFORM = "win32";
|
static const std::string PLATFORM = "win32";
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
static const std::string PLATFORM = "macos";
|
static const std::string PLATFORM = "macos";
|
||||||
|
#elif defined __FreeBSD__
|
||||||
|
static const std::string PLATFORM = "freebsd";
|
||||||
#else
|
#else
|
||||||
static const std::string PLATFORM = "linux";
|
static const std::string PLATFORM = "linux";
|
||||||
#endif
|
#endif
|
||||||
|
@ -14,6 +14,8 @@ namespace musik {
|
|||||||
static const std::string PLATFORM = "win32";
|
static const std::string PLATFORM = "win32";
|
||||||
#elif defined __APPLE__
|
#elif defined __APPLE__
|
||||||
static const std::string PLATFORM = "macos";
|
static const std::string PLATFORM = "macos";
|
||||||
|
#elif defined __FreeBSD__
|
||||||
|
static const std::string PLATFORM = "freebsd";
|
||||||
#else
|
#else
|
||||||
static const std::string PLATFORM = "linux";
|
static const std::string PLATFORM = "linux";
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user