From 21c4bbc85ab4f1ce35152e3a1c769663db23ca3f Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Thu, 6 Oct 2016 15:04:05 +0900 Subject: [PATCH] Remove build warning realted MQ in android JNI. There is a redefined proprocessor in JniOnMQSubscribeListener.h since octypes.h has it. it should be removed ------------------------------warning--------------------------------------- jni/JniOnMQSubscribeListener.h:26:0: warning: "MAX_SEQUENCE_NUMBER" redefined #define MAX_SEQUENCE_NUMBER 0xFFFFFF ---------------------------------------------------------------------------- Change-Id: If57b79b963d700459a59d2fb8704a60ad019e838 Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/12857 Tested-by: jenkins-iotivity Reviewed-by: Larry Sachs Reviewed-by: Rick Bell --- android/android_api/base/jni/JniOnMQSubscribeListener.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/android/android_api/base/jni/JniOnMQSubscribeListener.h b/android/android_api/base/jni/JniOnMQSubscribeListener.h index 6b7c059..3f747cf 100644 --- a/android/android_api/base/jni/JniOnMQSubscribeListener.h +++ b/android/android_api/base/jni/JniOnMQSubscribeListener.h @@ -23,8 +23,6 @@ #ifndef _Included_org_iotivity_base_OcResource_OnMQSubscribeListener #define _Included_org_iotivity_base_OcResource_OnMQSubscribeListener -#define MAX_SEQUENCE_NUMBER 0xFFFFFF - using namespace OC; class JniOcResource; -- 2.7.4