mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-01 03:39:18 -05:00
Merge pull request #20 from procedural/cpp-fixes
Fixes for C++, bool type already defined
This commit is contained in:
@ -178,8 +178,10 @@
|
|||||||
// Types and Structures Definition
|
// Types and Structures Definition
|
||||||
//----------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifndef __cplusplus
|
||||||
// Boolean type
|
// Boolean type
|
||||||
typedef enum { false, true } bool;
|
typedef enum { false, true } bool;
|
||||||
|
#endif
|
||||||
|
|
||||||
// byte type
|
// byte type
|
||||||
typedef unsigned char byte;
|
typedef unsigned char byte;
|
||||||
|
|||||||
Reference in New Issue
Block a user