* the WASM define renamed WASM32

git-svn-id: branches/wasm@46250 -
This commit is contained in:
nickysn 2020-08-05 14:17:27 +00:00
parent ed524467e9
commit 39c5f11ec6
3 changed files with 7 additions and 6 deletions

View File

@ -376,7 +376,8 @@
{$define symansistr}
{$endif}
{$ifdef wasm}
{$ifdef wasm32}
{$define wasm}
{$define cpu32bit}
{$define cpu64bitalu}
{$define cpu32bitaddr}

View File

@ -41,7 +41,7 @@ program pp;
RISCV64 generate a compiler for the RiscV64 architecture
SPARC generate a compiler for SPARC
SPARC64 generate a compiler for SPARC64
WASM generate a compiler for WebAssembly
WASM32 generate a compiler for WebAssembly 32-bit
X86_64 generate a compiler for the AMD x86-64 architecture
XTENSA generate a compiler for XTENSA
Z80 generate a compiler for Z80
@ -195,12 +195,12 @@ program pp;
{$endif CPUDEFINED}
{$define CPUDEFINED}
{$endif Z80}
{$ifdef WASM}
{$ifdef WASM32}
{$ifdef CPUDEFINED}
{$fatal ONLY one of the switches for the CPU type must be defined}
{$endif CPUDEFINED}
{$define CPUDEFINED}
{$endif WASM}
{$endif WASM32}
{$ifndef CPUDEFINED}
{$fatal A CPU type switch must be defined}

View File

@ -12,7 +12,7 @@
</Flags>
<SessionStorage Value="InProjectDir"/>
<MainUnit Value="0"/>
<Title Value="ppcwasm"/>
<Title Value="ppcwasm32"/>
</General>
<BuildModes Count="1">
<Item1 Name="default" Default="True"/>
@ -61,7 +61,7 @@
<ConfigFile>
<StopAfterErrCount Value="50"/>
</ConfigFile>
<CustomOptions Value="-dwasm
<CustomOptions Value="-dwasm32
-dnoopt"/>
</Other>
</CompilerOptions>