Skip to content

Commit baddfe6

Browse files
author
jan.nijtmans
committed
On MSVC, <stdbool.h> is always needed, apparently
1 parent 7838d7d commit baddfe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generic/tclInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#include <stdarg.h>
6969
#include <stdlib.h>
7070
#include <stdint.h>
71-
#if defined(__STDC_VERSION__) && __STDC_VERSION__ < 202311L
71+
#if defined(_MSC_VER) || (defined(__STDC_VERSION__) && (__STDC_VERSION__ < 202311L))
7272
#include <stdbool.h>
7373
#endif
7474
#include <string.h>

0 commit comments

Comments
 (0)