summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-07-31 18:10:26 +0200
committerraysan5 <[email protected]>2021-07-31 18:10:26 +0200
commitb805754aa17c87d413dd13bdac864a1aba5ee4f4 (patch)
treeb22d91b6bb2440d50fafa61425b44d5c7b8ca222 /src/rlgl.h
parent0f8cfd603193d3bba45bdf0c073277600de2bc06 (diff)
downloadraylib-b805754aa17c87d413dd13bdac864a1aba5ee4f4.tar.gz
raylib-b805754aa17c87d413dd13bdac864a1aba5ee4f4.zip
REVIEWED: Avoid bool type collisions
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index ece72f8c..980be611 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -291,7 +291,7 @@ typedef struct rlRenderBatch {
#if defined(__STDC__) && __STDC_VERSION__ >= 199901L
#include <stdbool.h>
-#elif !defined(__cplusplus) && !defined(bool)
+#elif !defined(__cplusplus) && !defined(bool) && !defined(RL_BOOL_TYPE)
// Boolean type
typedef enum bool { false, true } bool;
#endif