BLE: Imrpove deprecated.h documentation.

pull/5392/head
Vincent Coubard 2017-10-24 17:30:36 -05:00
parent 7f22d25018
commit e4a097f4ee
1 changed files with 5 additions and 2 deletions

View File

@ -14,12 +14,15 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef __DEPRECATE_H__ #ifndef MBED_BLE_DEPRECATE_H__
#define __DEPRECATE_H__ #define MBED_BLE_DEPRECATE_H__
#ifdef YOTTA_CFG_MBED_OS #ifdef YOTTA_CFG_MBED_OS
#include "compiler-polyfill/attributes.h" #include "compiler-polyfill/attributes.h"
#else #else
/**
* Deprecated, use MBED_DEPRECATED instead.
*/
#define __deprecated_message(msg) #define __deprecated_message(msg)
#endif #endif