Merge pull request #8526 from michalpasztamobica/windows_unittest_compilation_fix

Fix for unit test build on Windows machines
pull/8562/head
Cruz Monrreal 2018-10-26 11:38:59 -05:00 committed by GitHub
commit c25f15615b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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