Commit 6e88c9cf authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Fix WEAK redefinition in mbed

PUBLISHED_FROM=6abc158f198f5bd032e5ab06cc0ba3373434cdbe
parent 9937e889
......@@ -116,11 +116,13 @@
/* Common stuff */
#if !defined(WEAK)
#if (defined(__GNUC__) || defined(__TI_COMPILER_VERSION__)) && !defined(_WIN32)
#define WEAK __attribute__((weak))
#else
#define WEAK
#endif
#endif
#ifdef __GNUC__
#define NORETURN __attribute__((noreturn))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment