diff --git a/include/ohos_types.h b/include/ohos_types.h index aae5614aee5e7a67e0772d98e1e0fd27b305018b..3853442a6fcfed00337af3c0e6d73af415fa551e 100644 --- a/include/ohos_types.h +++ b/include/ohos_types.h @@ -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