Merge pull request #1649 from rohit-n/build-pch

Fix building with PCH disabled.
This commit is contained in:
Lioncash 2014-12-03 23:01:44 -05:00
commit 6d5e9cb5b1
1 changed files with 4 additions and 4 deletions

View File

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