]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
one push one pop
authorAlexandr Dubovikov <alexandr.dubovikov@gmail.com>
Tue, 19 Apr 2016 18:22:49 +0000 (20:22 +0200)
committerAlexandr Dubovikov <alexandr.dubovikov@gmail.com>
Tue, 19 Apr 2016 18:22:49 +0000 (20:22 +0200)
libs/sofia-sip/libsofia-sip-ua/msg/msg_internal.h

index a0338374930d4a8b683374333fe9ef31e4b6fa8c..3b1ac9bb5e562134ad546eaeed24a904ac7ada2f 100644 (file)
@@ -163,130 +163,64 @@ struct hep_chunk {
        uint16_t length;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk hep_chunk_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
-
 struct hep_chunk_uint8 {
        hep_chunk_t chunk;
        uint8_t data;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk_uint8 hep_chunk_uint8_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
-
 struct hep_chunk_uint16 {
        hep_chunk_t chunk;
        uint16_t data;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk_uint16 hep_chunk_uint16_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif 
-
 struct hep_chunk_uint32 {
        hep_chunk_t chunk;
        uint32_t data;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk_uint32 hep_chunk_uint32_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
-
 struct hep_chunk_str {
        hep_chunk_t chunk;
        char *data;
 } PACKED;
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
 
 typedef struct hep_chunk_str hep_chunk_str_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
-
 struct hep_chunk_ip4 {
        hep_chunk_t chunk;
        struct in_addr data;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk_ip4 hep_chunk_ip4_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
-
 struct hep_chunk_ip6 {
        hep_chunk_t chunk;
        struct in6_addr data;
 } PACKED;
 
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
-
 typedef struct hep_chunk_ip6 hep_chunk_ip6_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
 struct hep_chunk_payload {
     hep_chunk_t chunk;
     char *data;
 } PACKED;
-#ifdef _MSC_VER
-#pragma pack(pop)
-#elsif
 
 typedef struct hep_chunk_payload hep_chunk_payload_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
 struct hep_ctrl {
     char id[4];
     uint16_t length;
 } PACKED;
-#ifdef _MSC_VER
-#pragma pack(pop)
-#endif
 
 typedef struct hep_ctrl hep_ctrl_t;
 
-#ifdef _MSC_VER
-#pragma pack(push, 1)
-#endif
 struct hep_generic {
         hep_ctrl_t         header;
         hep_chunk_uint8_t  ip_family;
@@ -298,13 +232,13 @@ struct hep_generic {
         hep_chunk_uint8_t  proto_t;
         hep_chunk_uint32_t capt_id;
 } PACKED;
+
 #ifdef _MSC_VER
 #pragma pack(pop)
 #endif
 
 typedef struct hep_generic hep_generic_t;
 
-
 /** Maximum size when streaming. */
 #define MSG_SSIZE_MAX (USIZE_MAX)