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
|
#define MBED_LIBRARY_VERSION 117
|
||||||
|
|
||||||
|
#include "toolchain.h"
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
// Useful C libraries
|
// Useful C libraries
|
||||||
|
|
|
@ -24,6 +24,10 @@
|
||||||
typedef int FILEHANDLE;
|
typedef int FILEHANDLE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef EXTERN
|
||||||
|
#define EXTERN extern
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (__ICCARM__)
|
#if defined (__ICCARM__)
|
||||||
# define WEAK __weak
|
# define WEAK __weak
|
||||||
# define PACKED __packed
|
# define PACKED __packed
|
||||||
|
|
Loading…
Reference in New Issue