Skip to content

Commit

Permalink
Add back define guard on dns-sd function.
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille committed Dec 3, 2021
1 parent cf744fd commit f111af7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/CHIPDeviceController.h
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ class DLL_EXPORT DeviceCommissioner : public DeviceController,
UserDirectedCommissioningServer * GetUserDirectedCommissioningServer() { return mUdcServer; }
#endif // CHIP_DEVICE_CONFIG_ENABLE_COMMISSIONER_DISCOVERY

#if CHIP_DEVICE_CONFIG_ENABLE_DNSSD
/**
* @brief
* Overrides method from AbstractDnssdDiscoveryController
Expand All @@ -605,6 +606,7 @@ class DLL_EXPORT DeviceCommissioner : public DeviceController,
*
*/
void OnNodeDiscoveryComplete(const chip::Dnssd::DiscoveredNodeData & nodeData) override;
#endif

void RegisterPairingDelegate(DevicePairingDelegate * pairingDelegate) { mPairingDelegate = pairingDelegate; }

Expand Down

0 comments on commit f111af7

Please sign in to comment.