diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-05-11 18:02:55 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-05-12 21:00:14 +0200 |
commit | be0d677aa2e7eb87a309dc3927c0917380892641 (patch) | |
tree | 26226648e82dc620ad60f6b1a80ef715f866053d | |
parent | cc71df8100b33904d2c12a92fef237bebacbe1cd (diff) | |
download | libnitrokey-be0d677aa2e7eb87a309dc3927c0917380892641.tar.gz libnitrokey-be0d677aa2e7eb87a309dc3927c0917380892641.tar.bz2 |
Pack structures for NK Pro v0.8 commands
Apparently the GCC "packed" command is skipped while compiling for Win, VS style ones works
Fixes nitrokey-app#242
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r-- | include/stick10_commands_0.8.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stick10_commands_0.8.h b/include/stick10_commands_0.8.h index ead5add..4337bb7 100644 --- a/include/stick10_commands_0.8.h +++ b/include/stick10_commands_0.8.h @@ -14,6 +14,8 @@ #include "device_proto.h" #include "stick10_commands.h" +#pragma pack (push,1) + namespace nitrokey { namespace proto { @@ -309,4 +311,6 @@ namespace nitrokey { } } } +#pragma pack (pop) + #endif //LIBNITROKEY_STICK10_COMMANDS_0_8_H |