From: Hauke Mehrtens Date: Thu, 1 Oct 2015 22:33:06 +0000 (+0200) Subject: connectivity: fix warning about missing method declarations X-Git-Tag: 1.2.0+RC1~725 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ffd61ca4280ae9932a79eac0146ed51c17ff51e;p=platform%2Fupstream%2Fiotivity.git connectivity: fix warning about missing method declarations The WITH_TCP define is not set here, but the libcoap header checks for it and only adds the tcp functions if it is set. Add it here to fix the warnings. Change-Id: I28f1831341583597f5bf06406724e236911b0b81 Signed-off-by: Hauke Mehrtens Reviewed-on: https://gerrit.iotivity.org/gerrit/3393 Tested-by: jenkins-iotivity Reviewed-by: Jon A. Cruz --- diff --git a/resource/csdk/connectivity/src/SConscript b/resource/csdk/connectivity/src/SConscript index 25d5466..c06934f 100755 --- a/resource/csdk/connectivity/src/SConscript +++ b/resource/csdk/connectivity/src/SConscript @@ -137,6 +137,7 @@ if 'BLE' in ca_transport: if ca_os in ['linux', 'tizen', 'android']: if with_tcp == True: env.SConscript(os.path.join(ca_path, 'tcp_adapter/SConscript')) + env.AppendUnique(CPPDEFINES = ['WITH_TCP']) print "Include path is %s" % env.get('CPPPATH') print "Files path is %s" % env.get('CA_SRC')