+ added except_native.inc include file (empty for now, but will provide RTL

support for the native wasm exceptions in the future)
This commit is contained in:
Nikolay Nikolov 2021-09-18 03:08:48 +03:00
parent f76e91fb8b
commit 33e25a3dfe
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,17 @@
{
This file is part of the Free Pascal run time library.
Copyright (c) 1999-2000 by Michael Van Canneyt
member of the Free Pascal development team
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
**********************************************************************}
{****************************************************************************
Exception support
****************************************************************************}

View File

@ -2,5 +2,5 @@
# Here we set processor dependent include file names.
#
CPUNAMES=
CPUNAMES=except_native
CPUINCNAMES=$(addsuffix .inc,$(CPUNAMES))

View File

@ -111,3 +111,7 @@ function InterLockedExchangeAdd (var Target: smallint;Source : smallint) : small
Result:=Target;
inc(Target,Source);
end;
{$if defined(FPC_WASM_NATIVE_EXCEPTIONS)}
{$I except_native.inc}
{$endif}