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:
parent
748d45313d
commit
b8be90d5fb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user