Permalink
Browse files

Replaced DUST_MONO with __MonoCS__

  • Loading branch information...
ZeroStride committed Jul 31, 2010
1 parent 11c8123 commit dcd2e3d7f7f9c3c4ba8b67f7ef09de155ddd071c
Showing with 5 additions and 5 deletions.
  1. +1 −2 Dust/Dust_Mono.csproj
  2. +1 −2 DustBuster/DustBuster_Mono.csproj
  3. +3 −1 DustBuster/tests/SystemPerformanceTester.cs
View
@@ -21,7 +21,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
- <DefineConstants>DEBUG;DUST_MONO</DefineConstants>
+ <DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
@@ -35,7 +35,6 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
- <DefineConstants>DUST_MONO</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
@@ -16,7 +16,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
- <DefineConstants>DEBUG;DUST_MONO</DefineConstants>
+ <DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
@@ -27,7 +27,6 @@
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DefineConstants>DUST_MONO</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@@ -32,9 +32,11 @@ public Result RunTest()
List<Dust.ISimulation> simulation = new List<Dust.ISimulation>();
simulation.Add(new Dust.Simulation.StandardSimulation(NumTestParticles));
- //simulation.Add(new Dust.Simulation.UnsafeSimulation(NumTestParticles));
+ //simulation.Add(new Dust.Simulation.UnmanagedSimulation(NumTestParticles));
+#if __MonoCS__
simulation.Add(new Dust.Mono.Simulation.SimdSimulation(NumTestParticles));
simulation.Add(new Dust.Mono.Simulation.UnsafeSimdSimulation(NumTestParticles));
+#endif
// Blast out some particles into the simulations
Dust.Parameters config = new Dust.Parameters();

0 comments on commit dcd2e3d

Please sign in to comment.