Take out RARCH_CONSOLE ifdef

This commit is contained in:
twinaphex 2016-05-11 00:26:31 +02:00
parent 19afc807ef
commit 2c6cf33dec

View File

@ -17,6 +17,12 @@
#include <stdio.h>
#include <string.h>
#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
#include <features/features_cpu.h>
#include "performance_counters.h"
@ -31,10 +37,6 @@
#define PERF_LOG_FMT "[PERF]: Avg (%s): %llu ticks, %llu runs.\n"
#endif
#if !defined(_WIN32) && !defined(RARCH_CONSOLE)
#include <unistd.h>
#endif
static struct retro_perf_counter *perf_counters_rarch[MAX_COUNTERS];
static struct retro_perf_counter *perf_counters_libretro[MAX_COUNTERS];
static unsigned perf_ptr_rarch;