replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / resource-directory / src / rd_server.c
index fb7a11c..799ac6e 100644 (file)
@@ -177,7 +177,9 @@ static OCEntityHandlerResult rdEntityHandler(OCEntityHandlerFlag flag,
             case OC_REST_PUT:
             case OC_REST_OBSERVE:
             case OC_REST_OBSERVE_ALL:
+#ifdef WITH_PRESENCE
             case OC_REST_PRESENCE:
+#endif
             case OC_REST_NOMETHOD:
                 break;
         }