CloverBootloader/rEFIt_UEFI/PlatformEFI/cpp_util/pure_virtual.cpp
2021-04-03 13:55:25 +03:00

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