diff --git a/rtl/inc/objpas.inc b/rtl/inc/objpas.inc index 2825ccd131..11bc8dddbc 100644 --- a/rtl/inc/objpas.inc +++ b/rtl/inc/objpas.inc @@ -1401,7 +1401,7 @@ end; {$if defined(FPC_WASM_EXNREF_EXCEPTIONS)} {$I except_exnref.inc} {$elseif defined(FPC_WASM_NATIVE_EXCEPTIONS)} - {$I except_native.inc} + {$I except_legacy.inc} {$elseif defined(FPC_WASM_BRANCHFUL_EXCEPTIONS)} {$I except_branchful.inc} {$else} diff --git a/rtl/wasm32/except_native.inc b/rtl/wasm32/except_legacy.inc similarity index 100% rename from rtl/wasm32/except_native.inc rename to rtl/wasm32/except_legacy.inc diff --git a/rtl/wasm32/makefile.cpu b/rtl/wasm32/makefile.cpu index d051a9d0ee..a17013fcdd 100644 --- a/rtl/wasm32/makefile.cpu +++ b/rtl/wasm32/makefile.cpu @@ -2,5 +2,5 @@ # Here we set processor dependent include file names. # -CPUNAMES=except_exnref except_native except_branchful +CPUNAMES=except_exnref except_legacy except_branchful CPUINCNAMES=$(addsuffix .inc,$(CPUNAMES))