summaryrefslogtreecommitdiff
path: root/src/u8c/thrdsafe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u8c/thrdsafe.c')
-rw-r--r--src/u8c/thrdsafe.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/u8c/thrdsafe.c b/src/u8c/thrdsafe.c
index 3cb4c4d..c32a2e7 100644
--- a/src/u8c/thrdsafe.c
+++ b/src/u8c/thrdsafe.c
@@ -13,11 +13,12 @@
If not, see <https://www.gnu.org/licenses/>.
*/
+# include <stdbool.h>
# include <stdint.h>
# include <u8c/thrdsafe.h>
-uint_least8_t const u8c_thrdsafe =
+bool const u8c_thrdsafe =
# if defined(u8c_bethrdsafe)
- UINT8_C(0x1);
+ true;
# else
- UINT8_C(0x0);
+ false;
# endif