1 #ifndef _LIBRETRO_PRIVATE_H_ 2 #define _LIBRETRO_PRIVATE_H_ 3 4 #include <stdio.h> 5 #include <string.h> 6 #include <boolean.h> 7 #include <libretro.h> 8 #include "libretro_perf.h" 9 10 #ifdef __cplusplus 11 extern "C" { 12 #endif 13 14 extern unsigned int FAKE_SDL_TICKS; 15 16 extern retro_get_cpu_features_t perf_get_cpu_features_cb; 17 extern retro_perf_get_counter_t perf_get_counter_cb; 18 extern retro_log_printf_t log_cb; 19 extern retro_perf_register_t perf_register_cb; 20 int retro_return(bool just_flipping); 21 22 #define SDL_GetTicks() FAKE_SDL_TICKS 23 24 #ifdef __cplusplus 25 } 26 #endif 27 28 #ifdef _MSC_VER 29 #define strcasecmp stricmp 30 #endif 31 32 33 #endif 34