mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
jsoncpp: Fix compilation on SunPro
The SunPro compiler does not support `#pragma pack`.
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
#include "forwards.h"
|
||||
#endif // if !defined(JSON_IS_AMALGAMATION)
|
||||
|
||||
#if !defined(__SUNPRO_CC)
|
||||
#pragma pack(push, 8)
|
||||
#endif
|
||||
|
||||
namespace Json {
|
||||
|
||||
@@ -56,6 +58,8 @@ public:
|
||||
|
||||
} // namespace Json
|
||||
|
||||
#if !defined(__SUNPRO_CC)
|
||||
#pragma pack(pop)
|
||||
#endif
|
||||
|
||||
#endif // CPPTL_JSON_FEATURES_H_INCLUDED
|
||||
|
||||
Reference in New Issue
Block a user