Fix conflicting C++ linkage for pico_lwip panic() (#1167)
This commit is contained in:
parent
605e21ae6f
commit
488bd66eb3
@ -70,7 +70,13 @@ typedef int sys_prot_t;
|
||||
#endif
|
||||
|
||||
#ifndef LWIP_PLATFORM_ASSERT
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void panic(const char *fmt, ...);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#define LWIP_PLATFORM_ASSERT(x) panic(x)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user