Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Core/Node-API/Include/Shared/napi/napi.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ static_assert(sizeof(char16_t) == sizeof(wchar_t),
#endif

#ifdef NAPI_CPP_EXCEPTIONS

// [BABYLON-NATIVE-ADDITION]
#include <exception>

// When C++ exceptions are enabled, Errors are thrown directly. There is no need
// to return anything after the throw statements. The variadic parameter is an
// optional return value that is ignored.
Expand Down