* the FPC_WASM_SATURATING_FLOAT_TO_INT_CONVERSIONS define shortened to FPC_WASM_SATURATING_FLOAT_TO_INT

* increased the max string length of ttargetswitchinfo.define in order to fit the new define
This commit is contained in:
Nikolay Nikolov 2025-02-25 09:19:56 +02:00
parent 0c939ac6c6
commit d35a2f53e7

View File

@ -435,7 +435,7 @@ interface
hasvalue: boolean; hasvalue: boolean;
{ target switch can be used only globally } { target switch can be used only globally }
isglobal: boolean; isglobal: boolean;
define: string[30]; define: string[32];
end; end;
const const
@ -473,7 +473,7 @@ interface
(name: 'JSEXCEPTIONS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_JS_EXCEPTIONS'), (name: 'JSEXCEPTIONS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_JS_EXCEPTIONS'),
(name: 'WASMEXCEPTIONS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_NATIVE_EXCEPTIONS'), (name: 'WASMEXCEPTIONS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_NATIVE_EXCEPTIONS'),
(name: 'WASMTHREADS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_THREADS'), (name: 'WASMTHREADS'; hasvalue: false; isglobal: true ; define: 'FPC_WASM_THREADS'),
(name: 'SATURATINGFLOATTOINT';hasvalue: false; isglobal: false; define: 'FPC_WASM_SATURATING_FLOAT_TO_INT_CONVERSIONS') (name: 'SATURATINGFLOATTOINT';hasvalue: false; isglobal: false; define: 'FPC_WASM_SATURATING_FLOAT_TO_INT')
); );
{ switches being applied to all CPUs at the given level } { switches being applied to all CPUs at the given level }