From: DoHyun Pyun Date: Tue, 23 Jul 2019 05:05:30 +0000 (+0900) Subject: Add TIZEN_DEPRECATED_API definition if it is not defined X-Git-Tag: submit/tizen/20190723.070041^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93d480fb376aaf8c204bb475fb7d0c8d9357830b;p=platform%2Fcore%2Fapi%2Fbluetooth.git Add TIZEN_DEPRECATED_API definition if it is not defined Change-Id: I1e164139b860a92ba0d6e9a41c7d73f949ff57cf Signed-off-by: DoHyun Pyun --- diff --git a/include/bluetooth_internal.h b/include/bluetooth_internal.h index 2ec26bc..7dc3a10 100644 --- a/include/bluetooth_internal.h +++ b/include/bluetooth_internal.h @@ -22,6 +22,10 @@ #include "bluetooth_type.h" #include "bluetooth_type_internal.h" +#ifndef TIZEN_DEPRECATED_API +#define TIZEN_DEPRECATED_API __attribute__((__visibility__("default"), deprecated)) +#endif + #ifdef __cplusplus extern "C" {