Move defines to performance.c

This commit is contained in:
twinaphex 2015-09-27 02:29:59 +02:00
parent 415b827a82
commit 75874480af
2 changed files with 5 additions and 6 deletions

View File

@ -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 <unistd.h>

View File

@ -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