Skip to content

Commit

Permalink
fix building gc.d with -debug=PROFILE_API
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed May 10, 2015
1 parent 9b249a4 commit 450f2e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gc/gc.d
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ debug(PROFILE_API)
//return MonoTime.ticksPerSecond ? MonoTime.currTime.ticks : 0;
version(Windows)
{
import core.sys.windows.windows;

long ticks;
if(QueryPerformanceCounter(&ticks) == 0)
{
Expand Down

0 comments on commit 450f2e4

Please sign in to comment.