From b01a0a70181b5e7ab57a7f5f83148044fefc6a7a Mon Sep 17 00:00:00 2001 From: nickysn Date: Sat, 2 Jan 2021 07:54:53 +0000 Subject: [PATCH] + define the CPUWASM32 system macro for wasm32 git-svn-id: branches/wasm@47955 - --- compiler/options.pas | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/options.pas b/compiler/options.pas index 2c01f02fce..82dd78accb 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -3861,12 +3861,13 @@ procedure read_arguments(cmd:TCmdStr); def_system_macro('FPC_COMP_IS_INT64'); {$endif z80} - {$ifdef wasm} + {$ifdef wasm32} def_system_macro('CPUWASM'); + def_system_macro('CPUWASM32'); def_system_macro('CPU32'); def_system_macro('FPC_CURRENCY_IS_INT64'); def_system_macro('FPC_COMP_IS_INT64'); - {$endif wasm} + {$endif wasm32} {$if defined(cpu8bitalu)} def_system_macro('CPUINT8');