mirror of https://github.com/ARMmbed/mbed-os.git
Compatibility changes
Make changes to improve compatibility: -Include toolchain.h inside mbed.h -define EXTERNpull/1793/head
parent
e690ec0fc5
commit
48fd7d7480
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
#define MBED_LIBRARY_VERSION 121
|
||||
|
||||
#include "toolchain.h"
|
||||
#include "platform.h"
|
||||
|
||||
// Useful C libraries
|
||||
|
|
|
|||
|
|
@ -32,4 +32,9 @@ typedef int FILEHANDLE;
|
|||
# define PACKED __attribute__((packed))
|
||||
#endif
|
||||
|
||||
// Backwards compatibility
|
||||
#ifndef EXTERN
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue