Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/libc/include/stdbool.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef _STDBOOL_H
#define _STDBOOL_H

#ifndef __cplusplus
#if !defined(__cplusplus) && __STDC_VERSION__ < 202311L
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post it in slof@lists.ozlabs.org, I wonder if we are better off with forcing some older standard instead.

typedef enum { false = 0, true } bool;
#endif

Expand Down