Explorar o código

+ define the CPUWASM32 system macro for wasm32

git-svn-id: branches/wasm@47955 -
nickysn %!s(int64=4) %!d(string=hai) anos
pai
achega
b01a0a7018
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      compiler/options.pas

+ 3 - 2
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');