modify the preprocessor to stop the thread in ipadapter
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Thu, 9 Jul 2015 05:19:58 +0000 (14:19 +0900)
committerErich Keane <erich.keane@intel.com>
Thu, 9 Jul 2015 16:02:27 +0000 (16:02 +0000)
commit401a4c89a73638ed221ec476661bca4427f37843
tree8ee563718d11050c87661cbc58c1b9bf660548ce
parentf09260fbba636a39b89f6f8682c1f352be9ea160
modify the preprocessor to stop the thread in ipadapter

In case I use a ndk-build for android sample build,
the MULTI_THREAD is not defined.
because preprocessor was defined within Sconscript.
so I modified the code to stop the send thread.

Change-Id: I732fad2120fe243b6b976230aa395fdbb385dda1
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1588
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Naga Ashok Jampani <jn.ashok@samsung.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/src/SConscript
resource/csdk/connectivity/src/ip_adapter/caipadapter.c