mirror of https://github.com/ARMmbed/mbed-os.git
Change MBED_DEPRECATED def order to support Keil 4
parent
7963e8e7c1
commit
809b20738e
|
@ -220,10 +220,10 @@
|
|||
* @endcode
|
||||
*/
|
||||
#ifndef MBED_DEPRECATED
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#define MBED_DEPRECATED(M) __attribute__((deprecated(M)))
|
||||
#elif defined(__CC_ARM)
|
||||
#if defined(__CC_ARM)
|
||||
#define MBED_DEPRECATED(M) __attribute__((deprecated))
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
#define MBED_DEPRECATED(M) __attribute__((deprecated(M)))
|
||||
#else
|
||||
#define MBED_DEPRECATED(M)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue