diff --git a/src/protocol/RawCommand.h b/src/protocol/RawCommand.h index 0e0c421..a543009 100644 --- a/src/protocol/RawCommand.h +++ b/src/protocol/RawCommand.h @@ -21,7 +21,11 @@ namespace ts::command { CommandFragment(const CommandFragment& other) = default; CommandFragment(CommandFragment&&) = default; }; + + /* Windows aligns stuff somewhat different */ +#ifndef WIN32 static_assert(sizeof(CommandFragment) == 8 + sizeof(pipes::buffer)); +#endif struct ReassembledCommand { public: