mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-17 15:18:06 +01:00
25 lines
302 B
C++
25 lines
302 B
C++
//
|
|
// pure_virtual.cpp
|
|
// CloverX64
|
|
//
|
|
// Created by Jief on 24/08/2020.
|
|
//
|
|
|
|
#include "../Platform/Platform.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
|