From 5370fe18e08303afdffcb78b428b92e8205fbc76 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 11 Jun 2017 23:58:46 +0200 Subject: [PATCH] Additional check for bool header definition --- src/raylib.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/raylib.h b/src/raylib.h index 0b1a6b19..6d597fef 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -296,9 +296,8 @@ //---------------------------------------------------------------------------------- #ifndef __cplusplus // Boolean type - #if !defined(_STDBOOL_H) + #if !defined(_STDBOOL_H) || !defined(__STDBOOL_H) // CLang uses second form typedef enum { false, true } bool; - #define _STDBOOL_H #endif #endif