Conditionally compile https browsing code
authorsherscher@apple.com <sherscher@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Fri, 9 Oct 2009 17:44:58 +0000 (17:44 +0000)
committersherscher@apple.com <sherscher@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Fri, 9 Oct 2009 17:44:58 +0000 (17:44 +0000)
git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6734 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

Clients/ExplorerPlugin/ExplorerBarWindow.cpp

index 0b90291..5e0692a 100644 (file)
@@ -160,6 +160,7 @@ int ExplorerBarWindow::OnCreate( LPCREATESTRUCT inCreateStruct )
 
        m_serviceRefs.push_back(e->ref);
 
+#if defined( _BROWSE_FOR_HTTPS_ )
        e = new ServiceHandlerEntry;
        check( e );
        e->type                         = "_https._tcp";
@@ -176,6 +177,7 @@ int ExplorerBarWindow::OnCreate( LPCREATESTRUCT inCreateStruct )
        require_noerr( err, exit );
 
        m_serviceRefs.push_back(e->ref);
+#endif
        
        m_imageList.Create( 16, 16, ILC_MASK | ILC_COLOR16, 2, 0);