Remove header dependency on OC header from ResourceAttributes header
authorcoderhyme <jhyo.kim@samsung.com>
Fri, 12 Jun 2015 07:13:28 +0000 (16:13 +0900)
committerUze Choi <uzchoi@samsung.com>
Wed, 17 Jun 2015 08:26:08 +0000 (08:26 +0000)
Change-Id: Ic43edb5da72a1f257c73686db58e525a200ad9a1
Signed-off-by: coderhyme <jhyo.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1300
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/basis/common/primitiveResource/include/ResourceAttributes.h

index 3fbc39e..62f208d 100755 (executable)
@@ -23,7 +23,9 @@
 
 // To avoid conflict using different boost::variant configuration with OC.
 // It causes compile errors.
-#include <AttributeValue.h>
+#define BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS
+#define BOOST_MPL_LIMIT_LIST_SIZE 30
+#define BOOST_MPL_LIMIT_VECTOR_SIZE 30
 
 #include <functional>
 #include <unordered_map>