Merge pull request #1649 from rohit-n/build-pch
Fix building with PCH disabled.
This commit is contained in:
commit
6d5e9cb5b1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue