summaryrefslogtreecommitdiff
path: root/uisimulator/win32/stdbool.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/stdbool.h')
-rw-r--r--uisimulator/win32/stdbool.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/uisimulator/win32/stdbool.h b/uisimulator/win32/stdbool.h
index 769d7ac709..d91ef374b9 100644
--- a/uisimulator/win32/stdbool.h
+++ b/uisimulator/win32/stdbool.h
@@ -17,7 +17,30 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20#ifndef __STDBOOL_H__
21#define __STDBOOL_H__ 1
22
23#ifndef __MINGW32__
20typedef unsigned int bool; 24typedef unsigned int bool;
25#define __attribute__(s)
26
21#define true 1 27#define true 1
22#define false 0 28#define false 0
23#define __attribute__(s) \ No newline at end of file 29#else
30
31typedef enum
32{
33 false = 0,
34 true = 1
35} bool;
36
37#define false false
38#define true true
39
40/* Signal that all the definitions are present. */
41#define __bool_true_false_are_defined 1
42
43#endif
44
45#endif /* __STDBOOL_H__ */
46