mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-13 23:08:14 +00:00
Check to avoid bool redefinition
This commit is contained in:
@@ -303,7 +303,7 @@
|
||||
//----------------------------------------------------------------------------------
|
||||
#ifndef __cplusplus
|
||||
// Boolean type
|
||||
#if !defined(_STDBOOL_H) || !defined(__STDBOOL_H) // CLang uses second form
|
||||
#ifndef bool
|
||||
typedef enum { false, true } bool;
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user