Add pragma pack directive

Related to https://github.com/open-source-parsers/jsoncpp/issues/458
This commit is contained in:
Sergiy80
2016-12-03 22:29:14 +02:00
parent a691cb19de
commit d6e666f573
5 changed files with 19 additions and 0 deletions

View File

@@ -10,6 +10,8 @@
#include "forwards.h"
#endif // if !defined(JSON_IS_AMALGAMATION)
#pragma pack(push, 8)
namespace Json {
/** \brief Configuration passed to reader and writer.
@@ -54,4 +56,6 @@ public:
} // namespace Json
#pragma pack(pop)
#endif // CPPTL_JSON_FEATURES_H_INCLUDED