diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-03 11:25:23 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-03 11:25:23 +0200 |
commit | 3a8fcd3a27cc39a360e367a0492878e2e9aa8f28 (patch) | |
tree | 28e28be08d5e63a3473bd65f8635f9605e1c7af6 /shared | |
parent | 5a096a31cab585c1a0d938d64ebcc651900fbf42 (diff) |
demo working kinda
Diffstat (limited to 'shared')
-rw-r--r-- | shared/pb/types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/pb/types.h b/shared/pb/types.h index f2e2078..d4a65ed 100644 --- a/shared/pb/types.h +++ b/shared/pb/types.h @@ -6,9 +6,13 @@ extern "C" { #endif #ifdef __GNUC__ +#ifndef __packed #define __packed __attribute__((packed)) +#endif +#ifndef __weak #define __weak __attribute__((weak)) #endif +#endif #ifndef __packed #error Could not determine packed attribute for current compiler #define __packed |