diff --git a/include/ohos_types.h b/include/ohos_types.h index aae5614..3853442 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