[CONPRO-1337] Disabled Presence Feature
[platform/upstream/iotivity.git] / service / notification / src / consumer / NSConsumerDiscovery.h
index 01b3a25..33803fd 100644 (file)
@@ -32,8 +32,9 @@ extern "C" {
 
 void NSConsumerDiscoveryTaskProcessing(NSTask *);
 
+#ifdef WITH_PRESENCE
 OCStackApplicationResult NSConsumerPresenceListener(void *, OCDoHandle, OCClientResponse *);
-
+#endif
 // for discover result
 OCStackApplicationResult NSProviderDiscoverListener(void *, OCDoHandle, OCClientResponse *);