mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-20 18:24:13 +00:00
FS-2954: attr packed is not available on sun studio
This commit is contained in:
1 parent
e66051390c
commit
81b56a2490
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user