Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6402965

Browse files
committedApr 7, 2016
Merge pull request #24 from sg-/error-compiler-patch
rename error.c to mbed_error.c. add toolchain.h to mbed.h exposing to…
2 parents ec6c385 + 034d3e9 commit 6402965

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed
 

‎hal/api/mbed.h

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#define MBED_LIBRARY_VERSION 117
2020

21+
#include "toolchain.h"
2122
#include "platform.h"
2223

2324
// Useful C libraries

‎hal/api/toolchain.h

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
typedef int FILEHANDLE;
2525
#endif
2626

27+
#ifndef EXTERN
28+
#define EXTERN extern
29+
#endif
30+
2731
#if defined (__ICCARM__)
2832
# define WEAK __weak
2933
# define PACKED __packed
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.