mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Fix libretro header.
This commit is contained in:
parent
f9ef9cd1f4
commit
a725d2c506
@ -6,13 +6,15 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#elif defined(_MSC_VER)
|
||||
typedef unsigned char bool;
|
||||
typedef enum {false, true};
|
||||
#else
|
||||
#if defined(_MSC_VER) && !defined(__cplusplus)
|
||||
#define bool unsigned char
|
||||
#define true 1
|
||||
#define false 0
|
||||
#else
|
||||
#include <stdbool.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define RETRO_API_VERSION 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user