소스 검색

+ define the CPUWASM32 system macro for wasm32

git-svn-id: branches/wasm@47955 -
nickysn 4 년 전
부모
커밋
b01a0a7018
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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');