提交 26d698de authored 作者: Michael Jerris's avatar Michael Jerris

update PACKED

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@656 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f36292af
...@@ -75,11 +75,11 @@ typedef __int32 int32_t; ...@@ -75,11 +75,11 @@ typedef __int32 int32_t;
typedef __int64 int64_t; typedef __int64 int64_t;
typedef unsigned long in_addr_t; typedef unsigned long in_addr_t;
#endif #endif
#define PACKED
#else #else
/* packed attribute */ /* packed attribute */
#ifndef PACKED #ifndef PACKED
#define PACKED __attribute__ ((packed)) #define PACKED __attribute__ ((__packed__))
#endif #endif
#include <sys/types.h> #include <sys/types.h>
#ifndef getpid #ifndef getpid
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论