1 | // SPDX-License-Identifier: GPL-3.0-or-later |
---|---|
2 | |
3 | #include <mos/mos_global.h> |
4 | #include <stdint.h> |
5 | #include <stddef.h> |
6 | |
7 | #if defined(__MOS_MINIMAL_LIBC__) || defined(__MOS_KERNEL__) |
8 | #include <mos_string.h> |
9 | #include <mos_stdlib.h> |
10 | #else |
11 | #include <string.h> |
12 | #include <stdlib.h> |
13 | #endif |
14 | |
15 | #define PB_FIELD_32BIT 1 |
16 | #define PB_VALIDATE_UTF8 1 |
17 | #define PB_ENABLE_MALLOC 1 |
18 | #define PB_STATIC_ASSERT(a, b) MOS_STATIC_ASSERT(a, #b); |
19 |