Skip to content

Commit

Permalink
stdc: create stdbool.h
Browse files Browse the repository at this point in the history
low hanging fruit ig
  • Loading branch information
spocino authored Aug 12, 2023
1 parent a96948f commit 75ac809
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sources/libs/stdc-ansi/stdbool.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once

#ifndef __cplusplus

#define true 1
#define false 0
#define bool _Bool

#endif // __cplusplus

#define __bool_true_false_are_defined 1

0 comments on commit 75ac809

Please sign in to comment.