summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay San <[email protected]>2017-10-11 13:29:01 +0200
committerRay San <[email protected]>2017-10-11 13:29:01 +0200
commit399d4b5f4618ee9147c379364ad69b8c1fbb3002 (patch)
tree2c7a2eaf70ba0ce4171d72aafcfe99b2a178a026 /src
parent7114c1b1f3bf7da755a70b7f0b0ca813dd5f4d18 (diff)
downloadraylib-399d4b5f4618ee9147c379364ad69b8c1fbb3002.tar.gz
raylib-399d4b5f4618ee9147c379364ad69b8c1fbb3002.zip
Check to avoid bool redefinition
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 7d656ec8..2be141b7 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