Skip to content

Commit fc73866

Browse files
authored
Merge pull request #510 from compnerd/boolean
shims: always replace `_Bool` with `bool` in C++
2 parents 68875cb + 116f13e commit fc73866

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shims/atomic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#endif
3333

3434
// FreeBSD only defines _Bool in C mode. In C++ mode _Bool is not being defined.
35-
#if defined(__cplusplus) && (defined(__FreeBSD__) || defined(_WIN32))
35+
#if defined(__cplusplus)
3636
#define _Bool bool
3737
#endif
3838
#include <stdatomic.h>

0 commit comments

Comments
 (0)