Fixed compile for Windows
This commit is contained in:
parent
4367736c77
commit
16aca3a6bf
@ -21,7 +21,11 @@ namespace ts::command {
|
|||||||
CommandFragment(const CommandFragment& other) = default;
|
CommandFragment(const CommandFragment& other) = default;
|
||||||
CommandFragment(CommandFragment&&) = default;
|
CommandFragment(CommandFragment&&) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Windows aligns stuff somewhat different */
|
||||||
|
#ifndef WIN32
|
||||||
static_assert(sizeof(CommandFragment) == 8 + sizeof(pipes::buffer));
|
static_assert(sizeof(CommandFragment) == 8 + sizeof(pipes::buffer));
|
||||||
|
#endif
|
||||||
|
|
||||||
struct ReassembledCommand {
|
struct ReassembledCommand {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user