# Which supported platform does not support native booleans?

**URL:** <https://discourse.glfw.org/t/which-supported-platform-does-not-support-native-booleans/1377>\
**Category:** dev\
**Created:** [July 26, 2019, 2:32am UTC](https://discourse.glfw.org/t/which-supported-platform-does-not-support-native-booleans/1377 "2019-07-26T02:32:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luflosi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/luflosi/32/264_2.png) [@Luflosi](https://discourse.glfw.org/u/Luflosi)\
**Post date:** [July 26, 2019, 2:32am UTC](https://discourse.glfw.org/t/which-supported-platform-does-not-support-native-booleans/1377/1 "2019-07-26T02:32:59Z")

</div>

`internal.h` defines `GLFWbool` as an `int` and `glfw3.h` defines `GLFW_TRUE` as `1` and `GLFW_FALSE` as `0`. This indicates that there is no boolean type available on some supported platform/standard library/etc. . Is this still the case and if so, which platform would that be?

---

<div class="post-metadata">

**Author:** ![mmozeiko](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/mmozeiko/32/29_2.png) [@mmozeiko](https://discourse.glfw.org/u/mmozeiko)\
**Post date:** [July 26, 2019, 2:46am UTC](https://discourse.glfw.org/t/which-supported-platform-does-not-support-native-booleans/1377/2 "2019-07-26T02:46:59Z")

</div>

Afaik it is more because of language than platform. C89 does not have bool type.
