Explorar el Código

+ define the CPUWASM32 system macro for wasm32

git-svn-id: branches/wasm@47955 -
nickysn hace 4 años
padre
commit
b01a0a7018
Se han modificado 1 ficheros con 3 adiciones y 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');