Compatibility changes

Make changes to improve compatibility:
-Include toolchain.h inside mbed.h
-define EXTERN
pull/1793/head
Russ Butler 2016-05-25 20:12:29 -05:00 committed by Jimmy Brisson
parent e690ec0fc5
commit 48fd7d7480
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#define MBED_LIBRARY_VERSION 121
#include "toolchain.h"
#include "platform.h"
// Useful C libraries

View File

@ -32,4 +32,9 @@ typedef int FILEHANDLE;
# define PACKED __attribute__((packed))
#endif
// Backwards compatibility
#ifndef EXTERN
#define EXTERN extern
#endif
#endif