diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/capnp-c/capnp_c.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/lib/capnp-c/capnp_c.h b/include/lib/capnp-c/capnp_c.h index 609826a..28f171d 100644 --- a/include/lib/capnp-c/capnp_c.h +++ b/include/lib/capnp-c/capnp_c.h @@ -28,6 +28,11 @@ typedef intmax_t ssize_t; #include <stddef.h> #endif +// AVR does not have ssize_T either +#ifdef MULTIPASS_ARCH_arduino_nano +typedef intmax_t ssize_t; +#endif + // Cross-platform macro ALIGNED_(x) aligns a struct by `x` bytes. #ifdef _MSC_VER #define ALIGNED_(x) __declspec(align(x)) |