Skip to content

Commit c25f156

Browse files
author
Cruz Monrreal
authored
Merge pull request #8526 from michalpasztamobica/windows_unittest_compilation_fix
Fix for unit test build on Windows machines
2 parents fc741f0 + 0b3593f commit c25f156

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/mbed_toolchain.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@
144144
#ifndef MBED_WEAK
145145
#if defined(__ICCARM__)
146146
#define MBED_WEAK __weak
147+
#elif defined(__MINGW32__)
148+
#define MBED_WEAK
147149
#else
148150
#define MBED_WEAK __attribute__((weak))
149151
#endif

0 commit comments

Comments
 (0)