Skip to content

Commit 46a2563

Browse files
shilgaprokoma
authored andcommitted
[realtek-ambz2] Fix C linkage for sys_now() in lwipopts (#286)
1 parent 92351c0 commit 46a2563

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cores/realtek-ambz2/base/config/lwipopts.h

+7
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,11 @@
77
#define sys_now sys_now_dummy
88
#include_next "lwipopts.h"
99
#undef sys_now
10+
11+
#ifdef __cplusplus
12+
extern "C" {
13+
#endif
1014
extern unsigned long sys_now(void);
15+
#ifdef __cplusplus
16+
}
17+
#endif

0 commit comments

Comments
 (0)