CloverBootloader/rEFIt_UEFI/cpp_util/pure_virtual.cpp
2020-11-02 16:45:11 +03:00

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