Fixed minor problem with C++.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@15595 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
ff307bbcc5
commit
2a53ef2614
|
@ -214,12 +214,10 @@ int _getpid(void) {
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __cplusplus
|
/***************************************************************************/
|
||||||
extern "C" {
|
/* Only used in C++ mode.*/
|
||||||
void __cxa_pure_virtual(void) {
|
void __cxa_pure_virtual(void) {
|
||||||
osalSysHalt("Pure virtual function call.");
|
chSysHalt("pure virtual");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*** EOF ***/
|
/*** EOF ***/
|
||||||
|
|
Loading…
Reference in New Issue