mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-25 20:19:36 +00:00
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
|
#else
|
||||||
/* packed attribute */
|
/* packed attribute */
|
||||||
|
#if (defined __SUNPRO_CC) || defined(__SUNPRO_C)
|
||||||
|
#define PACKED
|
||||||
|
#endif
|
||||||
#ifndef PACKED
|
#ifndef PACKED
|
||||||
#define PACKED __attribute__ ((__packed__))
|
#define PACKED __attribute__ ((__packed__))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user