Fix building with PCH disabled.

This commit is contained in:
Rohit Nirmal 2014-12-03 21:54:54 -06:00
parent 7bc78827ed
commit e7ddaf86f5
1 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,6 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
static const u32 PROFILER_FIELD_LENGTH = 8;
static const u32 PROFILER_FIELD_LENGTH_FP = PROFILER_FIELD_LENGTH+3;
static const int PROFILER_LAZY_DELAY = 60; // in frames
#include <cmath>
#include <cstdio>
#include <cstring>
@ -16,6 +12,10 @@ static const int PROFILER_LAZY_DELAY = 60; // in frames
#include "Common/Profiler.h"
#include "Common/Timer.h"
static const u32 PROFILER_FIELD_LENGTH = 8;
static const u32 PROFILER_FIELD_LENGTH_FP = PROFILER_FIELD_LENGTH + 3;
static const int PROFILER_LAZY_DELAY = 60; // in frames
std::list<Profiler*> Profiler::s_all_profilers;
u32 Profiler::s_max_length = 0;
u64 Profiler::s_frame_time;