mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
(msvc) use stdbool.h for VS 2013 and later.
This commit is contained in:
parent
56fad1a77b
commit
96e96b9dfd
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
|
|
||||||
#if defined(_MSC_VER) && !defined(SN_TARGET_PS3)
|
#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined(SN_TARGET_PS3)
|
||||||
/* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
|
/* Hack applied for MSVC when compiling in C89 mode as it isn't C99 compliant. */
|
||||||
#define bool unsigned char
|
#define bool unsigned char
|
||||||
#define true 1
|
#define true 1
|
||||||
|
@ -32,7 +32,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
#if defined(_MSC_VER) && !defined(SN_TARGET_PS3)
|
#if defined(_MSC_VER) && _MSC_VER < 1800 && !defined(SN_TARGET_PS3)
|
||||||
/* Hack applied for MSVC when compiling in C89 mode
|
/* Hack applied for MSVC when compiling in C89 mode
|
||||||
* as it isn't C99-compliant. */
|
* as it isn't C99-compliant. */
|
||||||
#define bool unsigned char
|
#define bool unsigned char
|
||||||
|
Loading…
x
Reference in New Issue
Block a user