提交 81b56a24 authored 作者: Michael Jerris's avatar Michael Jerris

FS-2954: attr packed is not available on sun studio

上级 e6605139
......@@ -112,6 +112,9 @@ typedef int gid_t;
#else
/* packed attribute */
#if (defined __SUNPRO_CC) || defined(__SUNPRO_C)
#define PACKED
#endif
#ifndef PACKED
#define PACKED __attribute__ ((__packed__))
#endif
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论