Add a macro for BOOL

Under some compiler, double typedef will cause FAILED. So we add a macro to avoid this problem.

Signed-off-by: liujialiang <liujialiang10@huawei.com>
Change-Id: I07f695f56eb40e3b0cf0b85e94212cf38c8ffbbf
This commit is contained in:
liujialiang
2022-06-30 19:42:23 +08:00
parent 013bfddf94
commit fe9b9eeede
+4 -1
View File
@@ -44,7 +44,10 @@ typedef int boolean;
typedef void *pHandle;
typedef unsigned int BOOL;
#ifndef DEFINED_BOOL
typedef unsigned int BOOL;
#define DEFINED_BOOL
#endif
#ifndef TRUE
#define TRUE 1L