1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 12:54:51 +00:00
oot/include/libc/stdbool.h
Tharo 3475651701
libc cleanup (#1568)
* libc cleanup

* Suggested changes, small alloca tweak

* Remove printf include
2023-10-27 16:06:44 +02:00

20 lines
250 B
C

#ifndef STDBOOL_H
#define STDBOOL_H
#define __bool_true_false_are_defined 1
#ifndef __cplusplus
#if (__STDC_VERSION__ >= 199901L)
#define bool _Bool
#else
#define bool unsigned int
#endif
#define false 0
#define true 1
#endif
#endif