mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
style fixes and SolarisStudio support backported from develop
This commit is contained in:
@@ -23,7 +23,12 @@
|
||||
namespace Poco {
|
||||
namespace Net {
|
||||
|
||||
#pragma pack(push,1)
|
||||
|
||||
#if !defined(POCO_COMPILER_SUN)
|
||||
#pragma pack(push, 1)
|
||||
#else
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
typedef struct _NTPPacketData {
|
||||
Poco::Int8 mode:3;
|
||||
Poco::Int8 vn:3;
|
||||
@@ -39,7 +44,11 @@ typedef struct _NTPPacketData {
|
||||
Poco::Int64 vts;
|
||||
Poco::Int64 tts;
|
||||
} NTPPacketData;
|
||||
#if !defined(POCO_COMPILER_SUN)
|
||||
#pragma pack(pop)
|
||||
#else
|
||||
#pragma pack()
|
||||
#endif
|
||||
|
||||
|
||||
NTPPacket::NTPPacket() :
|
||||
|
Reference in New Issue
Block a user