NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
stdbool.h
浏览该文件的文档.
1
8
/* stdbool.h header */
9
/* Copyright 2003-2010 IAR Systems AB. */
10
11
/* NOTE: IAR Extensions must be enabled in order to use the bool type! */
12
13
#ifndef _STDBOOL
14
#define _STDBOOL
15
16
#ifndef _SYSTEM_BUILD
17
#if defined(WIN32) || defined(_WIN32)
18
#pragma warning(disable : 4068)
19
#pragma system_include
20
#endif
21
#endif
22
23
#ifndef __cplusplus
24
25
/* Even in pure C, we still need a standard boolean typedef */
26
#ifndef bool
27
typedef
unsigned
char
bool
;
28
#endif
29
// #define true 1
30
// #define false 0
31
#ifndef true
32
#define true (1)
33
#endif
34
#ifndef false
35
#define false (0)
36
#endif
37
38
// typedef int _Bool;
39
// #define bool _Bool
40
//
41
// #define true 1
42
// #define false 0
43
44
#endif
/* !__cplusplus */
45
46
#define __bool_true_false_are_defined 1
47
48
#endif
/* !_STDBOOL */
49
50
/*
51
* Copyright (c) 1992-2009 by P.J. Plauger. ALL RIGHTS RESERVED.
52
* Consult your license regarding permissions and restrictions.
53
V5.04:0576 */
bool
unsigned char bool
Definition:
stdbool.h:27
include
stdbool.h
制作者
1.9.6