Changed OCStackResult to be consistent across compile flags.
authorErich Keane <erich.keane@intel.com>
Tue, 13 Jan 2015 21:39:57 +0000 (13:39 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Thu, 22 Jan 2015 16:19:24 +0000 (16:19 +0000)
commitc99ae28f216978dadfd7485796fe4a2c048a0af3
tree278dbe1d24644fde1e4d5b19e22ac0126a4f727d
parentdb71bb472319917a34eaab2f0207fd44ac1f0156
Changed OCStackResult to be consistent across compile flags.

Issue 245 was reported that pointed out that the presence flag in
the compiler makes OCStackResult incompatible across differently
compiled versions of the CStack.  Additionally, this spaces out the
error codes from success codes, permitting additional room for more
success codes.

Change-Id: Ia93f34e23756e7663ea80f6667699d59e358058e
Signed-off-by: Erich Keane <erich.keane@intel.com>
(cherry picked from commit b7786c89ef40ec15c904633b979be6c73dfee53d)
Reviewed-on: https://gerrit.iotivity.org/gerrit/220
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/csdk/stack/include/ocstack.h