mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-26 16:47:40 +01:00
d54fc63747
application, for unit tests.
25 lines
296 B
C++
25 lines
296 B
C++
//
|
|
// pure_virtual.cpp
|
|
// CloverX64
|
|
//
|
|
// Created by Jief on 24/08/2020.
|
|
//
|
|
|
|
#include "../posix/abort.h"
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
extern "C" int _purecall()
|
|
{
|
|
panic("Pure virtual function called");
|
|
}
|
|
|
|
#else
|
|
|
|
extern "C" void __cxa_pure_virtual()
|
|
{
|
|
panic("Pure virtual function called");
|
|
}
|
|
|
|
#endif
|