File: SDL.h

package info (click to toggle)
libretro-mupen64plus 2.0%2Bgit20160207%2Bdfsg2-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 10,872 kB
  • ctags: 32,434
  • sloc: ansic: 126,897; cpp: 62,050; asm: 2,358; python: 778; perl: 393; makefile: 371; sh: 191
file content (31 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _FAKE_SDL_H_
#define _FAKE_SDL_H_

#include <stdio.h>
#include <string.h>
#include "libretro.h"
#include "libretro_perf.h"

#ifdef __cplusplus
extern "C" {
#endif

extern unsigned int FAKE_SDL_TICKS;

extern retro_get_cpu_features_t perf_get_cpu_features_cb;
extern retro_perf_get_counter_t perf_get_counter_cb;
extern retro_log_printf_t log_cb;
extern retro_perf_register_t perf_register_cb;

#define SDL_GetTicks() FAKE_SDL_TICKS

#ifdef __cplusplus
}
#endif

#ifdef _MSC_VER
#define strcasecmp stricmp
#endif


#endif