提交 29263bf7 authored 作者: Michael Jerris's avatar Michael Jerris

FS-8623: fix sun studio error trying to compile char[] with c++ compiler

上级 6ad1a293
...@@ -948,13 +948,6 @@ typedef struct { ...@@ -948,13 +948,6 @@ typedef struct {
#pragma pack(push, r1, 1) #pragma pack(push, r1, 1)
#endif #endif
typedef struct switch_rtcp_sdes_unit_s {
unsigned char type;
unsigned char length;
char value[];
} switch_rtcp_sdes_unit_t;
#if SWITCH_BYTE_ORDER == __BIG_ENDIAN #if SWITCH_BYTE_ORDER == __BIG_ENDIAN
typedef struct switch_rtcp_hdr_s { typedef struct switch_rtcp_hdr_s {
unsigned version:2; /* protocol version */ unsigned version:2; /* protocol version */
......
...@@ -129,7 +129,11 @@ typedef struct { ...@@ -129,7 +129,11 @@ typedef struct {
#pragma pack(push, r1, 1) #pragma pack(push, r1, 1)
#endif #endif
typedef struct switch_rtcp_sdes_unit_s {
unsigned char type;
unsigned char length;
char value[];
} switch_rtcp_sdes_unit_t;
typedef struct { typedef struct {
uint32_t ssrc; uint32_t ssrc;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论