Skip to content

Commit 6e45cfe

Browse files
committed
true and false are _Bool
1 parent f34f829 commit 6e45cfe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/stdbool.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
22

33
#define bool _Bool
4-
#define false (0)
5-
#define true (1)
4+
#define false ((_Bool)0)
5+
#define true ((_Bool)1)

0 commit comments

Comments
 (0)