macOS support warning

This commit is contained in:
badaix 2016-10-17 09:05:51 +02:00
parent 7715f3bbd3
commit eb021d84c2
3 changed files with 9 additions and 10 deletions

View file

@ -67,7 +67,7 @@ PcmDevice getPcmDevice(const std::string& soundcard)
int main (int argc, char **argv)
{
#ifdef MACOS
#pragma message "Warning: the Mac OS support is experimental and might not be maintained"
#pragma message "Warning: the macOS support is experimental and might not be maintained"
#endif
try
{

View file

@ -72,13 +72,13 @@ PublishAvahi::~PublishAvahi()
active_ = false;
pollThread_.join();
if (client_)
avahi_client_free(client_);
if (client_)
avahi_client_free(client_);
if (simple_poll)
avahi_simple_poll_free(simple_poll);
if (simple_poll)
avahi_simple_poll_free(simple_poll);
avahi_free(name);
avahi_free(name);
}

View file

@ -45,6 +45,9 @@ using namespace popl;
int main(int argc, char* argv[])
{
#ifdef MACOS
#pragma message "Warning: the macOS support is experimental and might not be maintained"
#endif
try
{
StreamServerSettings settings;
@ -181,7 +184,3 @@ int main(int argc, char* argv[])
return 0;
}