Fixed compile for Windows

This commit is contained in:
WolverinDEV 2021-02-07 12:33:56 +01:00
parent 4367736c77
commit 16aca3a6bf

View File

@ -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: