mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #24 from sg-/error-compiler-patch
rename error.c to mbed_error.c. add toolchain.h to mbed.h exposing to…
commit
640296520f
|
@ -18,6 +18,7 @@
|
|||
|
||||
#define MBED_LIBRARY_VERSION 117
|
||||
|
||||
#include "toolchain.h"
|
||||
#include "platform.h"
|
||||
|
||||
// Useful C libraries
|
||||
|
|
|
@ -24,6 +24,10 @@
|
|||
typedef int FILEHANDLE;
|
||||
#endif
|
||||
|
||||
#ifndef EXTERN
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
#if defined (__ICCARM__)
|
||||
# define WEAK __weak
|
||||
# define PACKED __packed
|
||||
|
|
Loading…
Reference in New Issue