Fix WASM build of skeleton tool
This commit is contained in:
parent
0d44db1398
commit
2f6f35591e
4 changed files with 171 additions and 0 deletions
13
cgal_skeleton_core/exception_stubs.cpp
Normal file
13
cgal_skeleton_core/exception_stubs.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
extern "C" {
|
||||
void* __cxa_allocate_exception(size_t) {
|
||||
abort();
|
||||
}
|
||||
|
||||
void __cxa_throw(void *, void *, void (*)(void *)) {
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue