mirror of
https://github.com/openharmony/commonlibrary_utils_lite.git
synced 2026-07-19 19:43:47 -04:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user