From 75874480af76c29407e1b70ae9a3d960fd0f04dc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 27 Sep 2015 02:29:59 +0200 Subject: [PATCH] Move defines to performance.c --- performance.c | 5 +++++ performance.h | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/performance.c b/performance.c index f866efb2b9..a7d6614bc6 100644 --- a/performance.c +++ b/performance.c @@ -20,6 +20,11 @@ #include "general.h" #include "compat/strl.h" +#ifdef _WIN32 +#define PERF_LOG_FMT "[PERF]: Avg (%s): %I64u ticks, %I64u runs.\n" +#else +#define PERF_LOG_FMT "[PERF]: Avg (%s): %llu ticks, %llu runs.\n" +#endif #if !defined(_WIN32) && !defined(RARCH_CONSOLE) #include diff --git a/performance.h b/performance.h index d4d4675434..7e764156d7 100644 --- a/performance.h +++ b/performance.h @@ -27,12 +27,6 @@ extern "C" { #endif -#ifdef _WIN32 -#define PERF_LOG_FMT "[PERF]: Avg (%s): %I64u ticks, %I64u runs.\n" -#else -#define PERF_LOG_FMT "[PERF]: Avg (%s): %llu ticks, %llu runs.\n" -#endif - #ifndef MAX_COUNTERS #define MAX_COUNTERS 64 #endif