it compiles

This commit is contained in:
Alli
2010-02-18 17:10:15 +13:00
parent 3e3276682c
commit cf8a2dd50f
9 changed files with 78 additions and 23 deletions

View File

@@ -24,10 +24,10 @@ namespace OpenRa.Support
{
public class Stopwatch
{
[DllImport("kernel32.dll")]
static extern bool QueryPerformanceCounter(out long value);
[DllImport("kernel32.dll")]
static extern bool QueryPerformanceFrequency(out long frequency);
//[DllImport("kernel32.dll")]
static bool QueryPerformanceCounter(out long value) { value = 1; return true; }
//[DllImport("kernel32.dll")]
static bool QueryPerformanceFrequency(out long frequency) { frequency = 1; return true; }
long freq, start;