IOT-2490 Fix JNI build using WITH_CLOUD=1 option
authorGeorge Nash <george.nash@intel.com>
Mon, 10 Jul 2017 20:55:43 +0000 (13:55 -0700)
committerRick Bell <richard.s.bell@intel.com>
Sun, 16 Jul 2017 18:21:37 +0000 (18:21 +0000)
commit3efec8c0dc4e32d2e8faedc7212caf0d946091e1
tree4529ceed66c6b37bcfe00e64aa21b7eb2a50a91b
parentea76c1a95cf80f1a3186d28359c27ddd005910cb
IOT-2490 Fix JNI build using WITH_CLOUD=1 option

This build failure was a result of a recent refactor to
remove the `using namespace OC` from the header files.
Importing the name was casing name space collisions
between C and C++ code used in the JNI files when built
in Windows OS.

The WITH_CLOUD build option was missed in the refactor.

Bug: https://jira.iotivity.org/browse/IOT-2490

Change-Id: I89b4c35a5a312d3e09a69016e43762fb01359abe
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21347
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Jay Sharma <jay.sharma@samsung.com>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
java/jni/JniOcAccountManager.cpp
java/jni/JniOcAccountManager.h
java/jni/JniOcCloudProvisioning.cpp
java/jni/JniOcCloudProvisioning.h