Skip to content

Commit a4b926d

Browse files
Michal Ruprichtridge
authored andcommitted
bool is a keyword in C23
1 parent 0973d0e commit a4b926d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

wildtest.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ int fnmatch_errors = 0;
3232

3333
int wildmatch_errors = 0;
3434

35+
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L
3536
typedef char bool;
37+
#endif
3638

3739
int output_iterations = 0;
3840
int explode_mod = 0;

0 commit comments

Comments
 (0)