FS-2954: attr packed is not available on sun studio
This commit is contained in:
parent
e66051390c
commit
81b56a2490
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue