On Monday 05 October 2015 10:58:40 Schulhof, Gabriel wrote: > Hey, all! > > Either [0] has to go or it has to be saved into a config.h if you > expect people to build their projects against iotivity without also > having to copy the defines with which iotivity was compiled. > > HTH, > > > > Gabriel > > [0] > https://gerrit.iotivity.org/gerrit/gitweb?p=iotivity.git;a=blob;f=resource/ > csdk/stack/include/octypes.h;h=9e67e78fe62cb3642dcf2b0759d07f25df30f3eb;hb=1 > .0.0-dev#l434
It has to go. If there's no specific #define stating otherwise at compile-time, the code needs to assume that the device can be a routing gateway or end-point and will choose at runtime. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
