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