mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #8526 from michalpasztamobica/windows_unittest_compilation_fix
Fix for unit test build on Windows machinespull/8562/head
commit
c25f15615b
|
@ -144,6 +144,8 @@
|
|||
#ifndef MBED_WEAK
|
||||
#if defined(__ICCARM__)
|
||||
#define MBED_WEAK __weak
|
||||
#elif defined(__MINGW32__)
|
||||
#define MBED_WEAK
|
||||
#else
|
||||
#define MBED_WEAK __attribute__((weak))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue