Now works with GCC 3 as well.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-12 00:46:30 +00:00
parent 748d45313d
commit b8be90d5fb

View File

@ -8,9 +8,19 @@
#include "util/kernel_cpp.h"
#if __GNUC__ == 2
extern "C" void
__pure_virtual()
{
//printf("pure virtual function call");
}
#elif __GNUC__ >= 3
extern "C" void
__cxa_pure_virtual()
{
}
#endif