mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +00:00
[#1071] static assert if sizeof(bool) is not 1
This commit is contained in:
parent
1e40f7d308
commit
9be381b796
@ -27,6 +27,9 @@ const my_bool MLM_FALSE = 0;
|
||||
const my_bool MLM_TRUE = 1;
|
||||
|
||||
#else
|
||||
///@brief check for bool size
|
||||
static_assert(sizeof(bool) == 1, "unsupported bool size");
|
||||
|
||||
/// @brief my_bool type in MySQL 8.x.
|
||||
typedef bool my_bool;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user