Skip to content

Commit

Permalink
[mdns] - enable zeroconfbrowser via mdnsembedded - as the browsing/se…
Browse files Browse the repository at this point in the history
…rvice-resolveing issue is solved now
  • Loading branch information
Memphiz committed Jun 12, 2013
1 parent 6490368 commit 1454e93
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions xbmc/network/ZeroconfBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
#include "threads/SingleLock.h"
#include "threads/Atomics.h"

// FIXME - once zeroconf browser with mdnsembedded is fixed -remove that condition here
#if !defined(HAS_ZEROCONF) || defined(HAS_MDNS_EMBEDDED)
#if !defined(HAS_ZEROCONF)
//dummy implementation used if no zeroconf is present
//should be optimized away
class CZeroconfBrowserDummy : public CZeroconfBrowser
Expand Down Expand Up @@ -152,8 +151,7 @@ CZeroconfBrowser* CZeroconfBrowser::GetInstance()
CAtomicSpinLock lock(sm_singleton_guard);
if(!smp_instance)
{
// FIXME - once zeroconf browser with mdnsembedded is fixed -remove that condition here
#if !defined(HAS_ZEROCONF) || defined(HAS_MDNS_EMBEDDED)
#if !defined(HAS_ZEROCONF)
smp_instance = new CZeroconfBrowserDummy;
#else
#if defined(TARGET_DARWIN)
Expand Down

0 comments on commit 1454e93

Please sign in to comment.