Skip to content
Merged
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
4 changes: 4 additions & 0 deletions headers/pmdsky.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@ typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;

// C23 made `bool` a keyword that can't be overwritten
#if __STDC_VERSION__ < 202311L
// Define the bool type to be 1 byte
typedef uint8_t bool;
#endif
ASSERT_SIZE(bool, 1);

// Define size_t for convenience
typedef unsigned long size_t;
Expand Down
Loading