Fix libretro header.

This commit is contained in:
Themaister 2012-04-15 16:47:16 +02:00
parent f9ef9cd1f4
commit a725d2c506

View File

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