From 399d4b5f4618ee9147c379364ad69b8c1fbb3002 Mon Sep 17 00:00:00 2001 From: Ray San Date: Wed, 11 Oct 2017 13:29:01 +0200 Subject: [PATCH] Check to avoid bool redefinition --- src/raylib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raylib.h b/src/raylib.h index 7d656ec86..2be141b73 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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