diff --git a/inc/efidef.h b/inc/efidef.h index a552c7d..3816331 100644 --- a/inc/efidef.h +++ b/inc/efidef.h @@ -20,7 +20,15 @@ Revision History --*/ +#if !defined(__cplusplus) +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +typedef _Bool BOOLEAN; +#else typedef unsigned char BOOLEAN; +#endif +#else +typedef bool BOOLEAN; +#endif #ifndef CONST #define CONST const